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 |
---|---|---|---|
LinkCollection | class | core/ |
Contains a set of JSON:API Link objects. |
LinkCollection.php | file | core/ |
|
LinkCollection::$context | property | core/ |
The link context. |
LinkCollection::$links | property | core/ |
The links in the collection, keyed by unique strings. |
LinkCollection::filter | function | core/ |
Filters a LinkCollection using the provided callback. |
LinkCollection::getContext | function | core/ |
Gets the LinkCollection's context object. |
LinkCollection::getIterator | function | core/ |
|
LinkCollection::hasLinkWithKey | function | core/ |
Whether a link with the given key exists. |
LinkCollection::merge | function | core/ |
Merges two LinkCollections. |
LinkCollection::validKey | function | core/ |
Ensures that a link key is valid. |
LinkCollection::withContext | function | core/ |
Establishes a new context for a LinkCollection. |
LinkCollection::withLink | function | core/ |
Gets a new LinkCollection with the given link inserted. |
LinkCollection::__construct | function | core/ |
LinkCollection constructor. |
LinkCollectionNormalizer | class | core/ |
Normalizes a LinkCollection object. |
LinkCollectionNormalizer.php | file | core/ |
|
LinkCollectionNormalizer::$currentUser | property | core/ |
The current user making the request. |
LinkCollectionNormalizer::$hashSalt | property | core/ |
A random string to use when hashing links. |
LinkCollectionNormalizer::getSupportedTypes | function | core/ |
|
LinkCollectionNormalizer::hasCacheableSupportsMethod | function | core/ |
|
LinkCollectionNormalizer::hashByHref | function | core/ |
Hashes a link using its href and its target attributes, if any. |
LinkCollectionNormalizer::LINK_CONTEXT | constant | core/ |
The normalizer $context key name for the context object of the link. |
LinkCollectionNormalizer::LINK_KEY | constant | core/ |
The normalizer $context key name for the key of an individual link. |
LinkCollectionNormalizer::normalize | function | core/ |
|
LinkCollectionNormalizer::__construct | function | core/ |
LinkCollectionNormalizer constructor. |
LinkCollectionNormalizerTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer @group jsonapi |
LinkCollectionNormalizerTest.php | file | core/ |
|
LinkCollectionNormalizerTest::$modules | property | core/ |
Modules to install. |
LinkCollectionNormalizerTest::$normalizer | property | core/ |
The subject under test. |
LinkCollectionNormalizerTest::$serializer | property | core/ |
The serializer. |
LinkCollectionNormalizerTest::$testUsers | property | core/ |
Test users. |
LinkCollectionNormalizerTest::getNormalizer | function | core/ |
Get an instance of the normalizer to test. |
LinkCollectionNormalizerTest::linkAccessTestData | function | core/ |
Provides test cases for testing link access checking. |
LinkCollectionNormalizerTest::setUp | function | core/ |
|
LinkCollectionNormalizerTest::testLinkAccess | function | core/ |
Tests the link collection normalizer. |
LinkCollectionNormalizerTest::testNormalize | function | core/ |
Tests the link collection normalizer. |
LinkExternalProtocolsConstraint | class | core/ |
Defines a protocol validation constraint for links to external URLs. |
LinkExternalProtocolsConstraint.php | file | core/ |
|
LinkExternalProtocolsConstraint::$message | property | core/ |
|
LinkExternalProtocolsConstraintValidator | class | core/ |
Validates the LinkExternalProtocols constraint. |
LinkExternalProtocolsConstraintValidator.php | file | core/ |
|
LinkExternalProtocolsConstraintValidator::validate | function | core/ |
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn |
LinkExternalProtocolsConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator @group Link |
LinkExternalProtocolsConstraintValidatorTest.php | file | core/ |
|
LinkExternalProtocolsConstraintValidatorTest::providerValidate | function | core/ |
Data provider for ::testValidate. |
LinkExternalProtocolsConstraintValidatorTest::testValidate | function | core/ |
@covers ::validate @dataProvider providerValidate @runInSeparateProcess |
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls | function | core/ |
@covers ::validate |
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri | function | core/ |
@covers ::validate |
LinkField | class | core/ |
|
LinkField | class | core/ |
MigrateField Plugin for Drupal 7 link fields. |
LinkField.php | file | core/ |
Pagination
- Previous page
- Page 19
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.