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::$message |
property |
core/modules/link/src/Plugin/Validation/Constraint/LinkAccessConstraint.php |
The error message. |
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::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. |
LinkBase |
class |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Field handler to present a link to an entity. |
LinkBase.php |
file |
core/modules/views/src/Plugin/views/field/LinkBase.php |
|
LinkBase::$accessManager |
property |
core/modules/views/src/Plugin/views/field/LinkBase.php |
The access manager service. |
LinkBase::$currentUser |
property |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Current user object. |
LinkBase::$entityRepository |
property |
core/modules/views/src/Plugin/views/field/LinkBase.php |
The entity repository. |
LinkBase::$entityTypeManager |
property |
core/modules/views/src/Plugin/views/field/LinkBase.php |
The entity type manager. |
LinkBase::$languageManager |
property |
core/modules/views/src/Plugin/views/field/LinkBase.php |
The language manager. |
LinkBase::addLangcode |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Adds language information to the options. |
LinkBase::buildOptionsForm |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Default option form that provides label widget that all fields should have. |
LinkBase::checkUrlAccess |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Checks access to the link route. |
LinkBase::create |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Creates an instance of the plugin. |
LinkBase::currentUser |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Gets the current active user. |
LinkBase::defineOptions |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Information about options for all kinds of purposes will be held here. |
LinkBase::getDefaultLabel |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Returns the default label for this link. |
LinkBase::getEntityRepository |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
|
LinkBase::getEntityTypeId |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Returns the entity type identifier. |
LinkBase::getEntityTypeManager |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
|
LinkBase::getLanguageManager |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Returns the language manager. |
LinkBase::getUrlInfo |
function |
core/modules/views/src/Plugin/views/field/LinkBase.php |
Returns the URI elements of the link. |