| Link::$linkGenerator |
property |
core/lib/Drupal/Core/Link.php |
The link generator. |
| Link::$rel |
property |
core/modules/jsonapi/src/JsonApiResource/Link.php |
The link relation type. |
| Link::$text |
property |
core/lib/Drupal/Core/Link.php |
The link text for the anchor tag as a translated string or render array. |
| Link::$uri |
property |
core/modules/jsonapi/src/JsonApiResource/Link.php |
The link URI. |
| Link::$url |
property |
core/lib/Drupal/Core/Link.php |
The URL of the link. |
| Link::compare |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Compares two links. |
| Link::createFromRoute |
function |
core/lib/Drupal/Core/Link.php |
Creates a Link object from a given route name and parameters. |
| Link::fromTextAndUrl |
function |
core/lib/Drupal/Core/Link.php |
Creates a Link object from a given Url object. |
| Link::getHref |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Gets the link's URI as a string. |
| Link::getInfo |
function |
core/lib/Drupal/Core/Render/Element/Link.php |
Returns the element properties for this element. |
| Link::getLinkGenerator |
function |
core/lib/Drupal/Core/Link.php |
Returns the link generator. |
| Link::getLinkRelationType |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Gets the link's relation type. |
| Link::getTargetAttributes |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Gets the link's target attributes. |
| Link::getText |
function |
core/lib/Drupal/Core/Link.php |
Returns the text of the link. |
| Link::getUri |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Gets the link's URI. |
| Link::getUrl |
function |
core/lib/Drupal/Core/Link.php |
Returns the URL of the link. |
| Link::merge |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Merges two equivalent links into one link with the merged cacheability. |
| Link::preRenderLink |
function |
core/lib/Drupal/Core/Render/Element/Link.php |
Pre-render callback: Renders a link into #markup. |
| Link::preRenderLinks |
function |
core/lib/Drupal/Core/Render/Element/Link.php |
Pre-render callback: Collects child links into a single array. |
| Link::setLinkGenerator |
function |
core/lib/Drupal/Core/Link.php |
Sets the link generator service. |
| Link::setText |
function |
core/lib/Drupal/Core/Link.php |
Sets the new text of the link. |
| Link::setUrl |
function |
core/lib/Drupal/Core/Link.php |
Sets the URL of this link. |
| Link::toRenderable |
function |
core/lib/Drupal/Core/Link.php |
Returns a render array representation of the object. |
| Link::toString |
function |
core/lib/Drupal/Core/Link.php |
Generates the HTML for this Link object. |
| Link::__construct |
function |
core/lib/Drupal/Core/Link.php |
Constructs a new Link object. |
| Link::__construct |
function |
core/modules/jsonapi/src/JsonApiResource/Link.php |
JSON:API Link constructor. |
| LinkAccessConstraint |
class |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraint.php |
Defines an access validation constraint for links. |
| LinkAccessConstraint.php |
file |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraint.php |
|
| LinkAccessConstraint::__construct |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraint.php |
#[HasNamedArguments] |
| LinkAccessConstraintValidator |
class |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
Validates the LinkAccess constraint. |
| LinkAccessConstraintValidator.php |
file |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
|
| LinkAccessConstraintValidator::$current_user |
property |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
Proxy for the current user account. |
| LinkAccessConstraintValidator::create |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
Instantiates a new instance of this class. |
| LinkAccessConstraintValidator::validate |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
|
| LinkAccessConstraintValidator::__construct |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraintValidator.php |
Constructs an instance of the LinkAccessConstraintValidator class. |
| LinkAccessConstraintValidatorTest |
class |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
Tests the LinkAccessConstraintValidator validator. |
| LinkAccessConstraintValidatorTest.php |
file |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
|
| LinkAccessConstraintValidatorTest::providerValidate |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
Data provider for LinkAccessConstraintValidator::validate(). |
| LinkAccessConstraintValidatorTest::testEmptyField |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
Tests validating an empty Link field. |
| LinkAccessConstraintValidatorTest::testUnexpectedValue |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
Tests validating a value that isn't a LinkItemInterface. |
| LinkAccessConstraintValidatorTest::testValidate |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkAccessConstraintValidatorTest.php |
Tests the access validation constraint for links. |
| LinkApprove |
class |
core/modules/comment/src/Plugin/views/field/LinkApprove.php |
Provides a comment approve link. |
| LinkApprove.php |
file |
core/modules/comment/src/Plugin/views/field/LinkApprove.php |
|
| LinkApprove::getDefaultLabel |
function |
core/modules/comment/src/Plugin/views/field/LinkApprove.php |
Returns the default label for this link. |
| LinkApprove::getUrlInfo |
function |
core/modules/comment/src/Plugin/views/field/LinkApprove.php |
Returns the URI elements of the link. |
| LinkApprove::renderLink |
function |
core/modules/comment/src/Plugin/views/field/LinkApprove.php |
Prepares the link to view an entity. |
| LinkApproveTest |
class |
core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php |
Tests Drupal\comment\Plugin\views\field\LinkApprove. |
| LinkApproveTest.php |
file |
core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php |
|
| LinkApproveTest::setUp |
function |
core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php |
|
| LinkApproveTest::testRenderNullEntity |
function |
core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php |
Test the render method when getEntity returns NULL. |