comparison core/modules/views/src/Entity/Render/EntityTranslationRendererBase.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
29 29
30 /** 30 /**
31 * {@inheritdoc} 31 * {@inheritdoc}
32 */ 32 */
33 public function preRender(array $result) { 33 public function preRender(array $result) {
34 $view_builder = $this->view->rowPlugin->entityManager->getViewBuilder($this->entityType->id()); 34 $view_builder = \Drupal::entityTypeManager()->getViewBuilder($this->entityType->id());
35 35
36 /** @var \Drupal\views\ResultRow $row */ 36 /** @var \Drupal\views\ResultRow $row */
37 foreach ($result as $row) { 37 foreach ($result as $row) {
38 // @todo Take relationships into account. 38 // @todo Take relationships into account.
39 // See https://www.drupal.org/node/2457999. 39 // See https://www.drupal.org/node/2457999.