diff --git a/core/modules/views/src/Plugin/views/field/EntityOperations.php b/core/modules/views/src/Plugin/views/field/EntityOperations.php index 5c39285..b1392ee 100644 --- a/core/modules/views/src/Plugin/views/field/EntityOperations.php +++ b/core/modules/views/src/Plugin/views/field/EntityOperations.php @@ -142,7 +142,6 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { */ public function render(ResultRow $values) { $entity = $this->getEntityTranslation($this->getEntity($values), $values); - drupal_set_message('boo'); $operations = $this->entityManager->getListBuilder($entity->getEntityTypeId())->getOperations($entity); if ($this->options['destination']) { foreach ($operations as &$operation) { @@ -164,8 +163,11 @@ public function render(ResultRow $values) { * {@inheritdoc} */ public function query() { - // There is nothing to ensure or add for this handler, so we purposefully do - // nothing here and do not call parent::query() either. + if ($this->languageManager->isMultilingual()) { + $this->getEntityTranslationRenderer()->query($this->query, $this->relationship); + } + // There is nothing to ensure or add for this handler other than language, + // so we purposefully do not call parent::query(). } }