diff --git a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php index 78b152f..a812ac0 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php +++ b/core/modules/node/lib/Drupal/node/Plugin/views/field/Link.php @@ -43,14 +43,6 @@ public function buildOptionsForm(&$form, &$form_state) { /** * {@inheritdoc} */ - public function query() { - $this->ensureMyTable(); - $this->addAdditionalFields(); - } - - /** - * {@inheritdoc} - */ public function render(ResultRow $values) { if ($entity = $this->getEntity($values)) { return $this->renderLink($entity, $values); @@ -67,7 +59,7 @@ public function render(ResultRow $values) { * @return string * The link text. */ - protected function renderLink(NodeInterface $node, ResultRow $values) { + protected function renderLink($node, ResultRow $values) { if (node_access('view', $node)) { $this->options['alter']['make_link'] = TRUE; $this->options['alter']['path'] = 'node/' . $node->id();