| LinkBaseTest |
class |
core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php |
Tests Drupal\views\Plugin\views\field\EntityLink. |
| LinkBaseTest.php |
file |
core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php |
|
| LinkBaseTest::setUp |
function |
core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php |
|
| LinkBaseTest::testRenderNullEntity |
function |
core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php |
Tests the render method when getEntity returns NULL. |
| LinkCollection |
class |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Contains a set of JSON:API Link objects. |
| LinkCollection.php |
file |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
|
| LinkCollection::$context |
property |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
The link context. |
| LinkCollection::$links |
property |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
The links in the collection, keyed by unique strings. |
| LinkCollection::filter |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Filters a LinkCollection using the provided callback. |
| LinkCollection::getContext |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Gets the LinkCollection's context object. |
| LinkCollection::getIterator |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Returns an iterator for links. |
| LinkCollection::hasLinkWithKey |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Whether a link with the given key exists. |
| LinkCollection::merge |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Merges two LinkCollections. |
| LinkCollection::validKey |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Ensures that a link key is valid. |
| LinkCollection::withContext |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Establishes a new context for a LinkCollection. |
| LinkCollection::withLink |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Gets a new LinkCollection with the given link inserted. |
| LinkCollection::__construct |
function |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
LinkCollection constructor. |
| LinkCollectionNormalizer |
class |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
Normalizes a LinkCollection object. |
| LinkCollectionNormalizer.php |
file |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
|
| LinkCollectionNormalizer::$currentUser |
property |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
The current user making the request. |
| LinkCollectionNormalizer::$hashSalt |
property |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
A random string to use when hashing links. |
| LinkCollectionNormalizer::getSupportedTypes |
function |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
|
| LinkCollectionNormalizer::hashByHref |
function |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
Hashes a link using its href and its target attributes, if any. |
| LinkCollectionNormalizer::LINK_CONTEXT |
constant |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
The normalizer $context key name for the context object of the link. |
| LinkCollectionNormalizer::LINK_KEY |
constant |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
The normalizer $context key name for the key of an individual link. |
| LinkCollectionNormalizer::normalize |
function |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
|
| LinkCollectionNormalizer::__construct |
function |
core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php |
LinkCollectionNormalizer constructor. |
| LinkCollectionNormalizerTest |
class |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Tests Drupal\jsonapi\Normalizer\LinkCollectionNormalizer. |
| LinkCollectionNormalizerTest.php |
file |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
|
| LinkCollectionNormalizerTest::$modules |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Modules to install. |
| LinkCollectionNormalizerTest::$normalizer |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
The subject under test. |
| LinkCollectionNormalizerTest::$serializer |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
The serializer. |
| LinkCollectionNormalizerTest::$testUsers |
property |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Test users. |
| LinkCollectionNormalizerTest::getNormalizer |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Get an instance of the normalizer to test. |
| LinkCollectionNormalizerTest::linkAccessTestData |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Provides test cases for testing link access checking. |
| LinkCollectionNormalizerTest::setUp |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
|
| LinkCollectionNormalizerTest::testLinkAccess |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Tests the link collection normalizer. |
| LinkCollectionNormalizerTest::testNormalize |
function |
core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php |
Tests the link collection normalizer. |
| LinkExternalProtocolsConstraint |
class |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraint.php |
Defines a protocol validation constraint for links to external URLs. |
| LinkExternalProtocolsConstraint.php |
file |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraint.php |
|
| LinkExternalProtocolsConstraint::__construct |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraint.php |
#[HasNamedArguments] |
| LinkExternalProtocolsConstraintValidator |
class |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php |
Validates the LinkExternalProtocols constraint. |
| LinkExternalProtocolsConstraintValidator.php |
file |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php |
|
| LinkExternalProtocolsConstraintValidator::validate |
function |
core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidator.php |
|
| LinkExternalProtocolsConstraintValidatorTest |
class |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
Tests Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator. |
| LinkExternalProtocolsConstraintValidatorTest.php |
file |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
|
| LinkExternalProtocolsConstraintValidatorTest::providerValidate |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
Data provider for ::testValidate. |
| LinkExternalProtocolsConstraintValidatorTest::testEmptyField |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
Tests validating an empty Link field. |
| LinkExternalProtocolsConstraintValidatorTest::testUnexpectedValue |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
Tests validating a value that isn't a LinkItemInterface. |
| LinkExternalProtocolsConstraintValidatorTest::testValidate |
function |
core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php |
Tests validate. |