function LinkBase::getUrlInfo

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::getUrlInfo()
  2. 10 core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::getUrlInfo()
  3. 8.9.x core/modules/views/src/Plugin/views/field/LinkBase.php \Drupal\views\Plugin\views\field\LinkBase::getUrlInfo()

Returns the URI elements of the link.

Parameters

\Drupal\views\ResultRow $row: A view result row.

Return value

\Drupal\Core\Url The URI elements of the link.

1 method overrides LinkBase::getUrlInfo()
EntityLink::getUrlInfo in core/modules/views/src/Plugin/views/field/EntityLink.php
Returns the URI elements of the link.

File

core/modules/views/src/Plugin/views/field/LinkBase.php, line 195

Class

LinkBase
Field handler to present a link to an entity.

Namespace

Drupal\views\Plugin\views\field

Code

abstract protected function getUrlInfo(ResultRow $row);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.