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.icon.theme.pcss.css | file | core/ |
.field-icon-link { background-image: url(../../../misc/icons/55565b/link.svg); } |
| link.info.yml | file | core/ |
core/modules/link/link.info.yml |
| link.libraries.yml | file | core/ |
core/modules/link/link.libraries.yml |
| link.migrate_drupal.yml | file | core/ |
core/modules/link/migrations/state/link.migrate_drupal.yml |
| link.module | file | core/ |
Defines simple link field types. |
| Link.php | file | core/ |
|
| Link.php | file | core/ |
|
| Link.php | file | core/ |
|
| link.schema.yml | file | core/ |
core/modules/link/config/schema/link.schema.yml |
| 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 type. |
| Link::$text | property | core/ |
The link text for the anchor tag as a translated string or render array. |
| 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::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/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
| 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 access validation constraint for links. |
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.