diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/field/EntityLabel.php b/core/modules/views/lib/Drupal/views/Plugin/views/field/EntityLabel.php index 6bdcda7..43a067e 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/field/EntityLabel.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/field/EntityLabel.php @@ -106,8 +106,9 @@ public function render($values) { } if (!empty($this->options['link_to_entity'])) { + $uri = $entity->uri(); $this->options['alter']['make_link'] = TRUE; - $this->options['alter']['path'] = $entity->uri()['path']; + $this->options['alter']['path'] = $uri['path']; } return $this->sanitizeValue($entity->label());