Search for link
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Link | class | core/ |
Represents an RFC8288 based link. |
Link | class | core/ |
Provides a link render element. |
Link | class | core/ |
Defines an object that holds information about a link. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
Link::$attributes | property | core/ |
The link target attributes. |
Link::$href | property | core/ |
The URI, as a string. |
Link::$linkGenerator | property | core/ |
The link generator. |
Link::$rel | property | core/ |
The link relation types. |
Link::$text | property | core/ |
The text of the link. |
Link::$uri | property | core/ |
The link URI. |
Link::$url | property | core/ |
The URL of the link. |
Link::compare | function | core/ |
Compares two links. |
Link::createFromRoute | function | core/ |
Creates a Link object from a given route name and parameters. |
Link::fromTextAndUrl | function | core/ |
Creates a Link object from a given Url object. |
Link::getHref | function | core/ |
Gets the link's URI as a string. |
Link::getInfo | function | core/ |
Returns the element properties for this element. |
Link::getLinkGenerator | function | core/ |
Returns the link generator. |
Link::getLinkRelationType | function | core/ |
Gets the link's relation type. |
Link::getLinkRelationTypes | function | core/ |
Gets the link's relation types. |
Link::getTargetAttributes | function | core/ |
Gets the link's target attributes. |
Link::getText | function | core/ |
Returns the text of the link. |
Link::getUri | function | core/ |
Gets the link's URI. |
Link::getUrl | function | core/ |
Returns the URL of the link. |
Link::merge | function | core/ |
Merges two equivalent links into one link with the merged cacheability. |
Link::preRenderLink | function | core/ |
Pre-render callback: Renders a link into #markup. |
Link::preRenderLinks | function | core/ |
Pre-render callback: Collects child links into a single array. |
Link::setLinkGenerator | function | core/ |
Sets the link generator service. |
Link::setText | function | core/ |
Sets the new text of the link. |
Link::setUrl | function | core/ |
Sets the URL of this link. |
Link::toRenderable | function | core/ |
Returns a render array representation of the object. |
Link::toString | function | core/ |
Generates the HTML for this Link object. |
Link::__construct | function | core/ |
Constructs a new Link object. |
Link::__construct | function | core/ |
JSON:API Link constructor. |
LinkAccessConstraint | class | core/ |
Defines an access validation constraint for links. |
LinkAccessConstraint.php | file | core/ |
|
LinkAccessConstraint::$message | property | core/ |
|
LinkAccessConstraintValidator | class | core/ |
Validates the LinkAccess constraint. |
LinkAccessConstraintValidator.php | file | core/ |
|
LinkAccessConstraintValidator::$current_user | property | core/ |
Proxy for the current user account. |
LinkAccessConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
LinkAccessConstraintValidator::validate | function | core/ |
|
LinkAccessConstraintValidator::__construct | function | core/ |
Constructs an instance of the LinkAccessConstraintValidator class. |
LinkAccessConstraintValidatorTest | class | core/ |
Tests the LinkAccessConstraintValidator validator. |
LinkAccessConstraintValidatorTest.php | file | core/ |
|
LinkAccessConstraintValidatorTest::providerValidate | function | core/ |
Data provider for LinkAccessConstraintValidator::validate(). |
LinkAccessConstraintValidatorTest::testValidate | function | core/ |
Tests the \Drupal\link\Plugin\Validation\Constraint\LinkAccessConstraintValidator::validate() method. |
LinkApprove | class | core/ |
Provides a comment approve link. |
LinkApprove.php | file | core/ |
|
LinkApprove::getDefaultLabel | function | core/ |
Returns the default label for this link. |
LinkApprove::getUrlInfo | function | core/ |
Returns the URI elements of the link. |
LinkApprove::renderLink | function | core/ |
Prepares the link to view a entity. |
LinkBase | class | core/ |
Field handler to present a link to an entity. |
LinkBase.php | file | core/ |
|
LinkBase::$accessManager | property | core/ |
The access manager service. |
Pagination
- Previous page
- Page 17
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.