You are here

abstract protected function LinkBase::getUrlInfo in Drupal 9

Same name and namespace in other branches
  1. 8 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.

2 calls to LinkBase::getUrlInfo()
LinkBase::checkUrlAccess in core/modules/views/src/Plugin/views/field/LinkBase.php
Checks access to the link route.
LinkBase::renderLink in core/modules/views/src/Plugin/views/field/LinkBase.php
Prepares the link to view an entity.
5 methods override LinkBase::getUrlInfo()
ContactLink::getUrlInfo in core/modules/contact/src/Plugin/views/field/ContactLink.php
Returns the URI elements of the link.
EntityLink::getUrlInfo in core/modules/views/src/Plugin/views/field/EntityLink.php
Returns the URI elements of the link.
LinkApprove::getUrlInfo in core/modules/comment/src/Plugin/views/field/LinkApprove.php
Returns the URI elements of the link.
LinkReply::getUrlInfo in core/modules/comment/src/Plugin/views/field/LinkReply.php
Returns the URI elements of the link.
RevisionLink::getUrlInfo in core/modules/node/src/Plugin/views/field/RevisionLink.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

protected abstract function getUrlInfo(ResultRow $row);