diff --git a/core/modules/comment/lib/Drupal/comment/Form/CommentAdminOverview.php b/core/modules/comment/lib/Drupal/comment/Form/CommentAdminOverview.php index 8282802..2ba9f14 100644 --- a/core/modules/comment/lib/Drupal/comment/Form/CommentAdminOverview.php +++ b/core/modules/comment/lib/Drupal/comment/Form/CommentAdminOverview.php @@ -228,7 +228,7 @@ public function buildForm(array $form, array &$form_state, $type = 'new') { 'href' => 'comment/' . $comment->id() . '/edit', 'query' => $destination, ); - if ($this->moduleHandler->invoke('content_translation', 'translate_access', $comment)) { + if ($this->moduleHandler->invoke('content_translation', 'translate_access', array($comment))) { $links['translate'] = array( 'title' => $this->t('translate'), 'href' => 'comment/' . $comment->id() . '/translations',