Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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 #[\ReturnTypeWillChange]
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::$supportedInterfaceOrClass property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The interface or class that this Normalizer supports.
LinkCollectionNormalizer::hasCacheableSupportsMethod 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 @coversDefaultClass \Drupal\jsonapi\Normalizer\LinkCollectionNormalizer[[api-linebreak]]
@group jsonapi
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 enable.
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::$message property core/modules/link/src/Plugin/Validation/Constraint/LinkExternalProtocolsConstraint.php
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 @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator[[api-linebreak]]
@group Link
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::testValidate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkField class core/modules/link/src/Plugin/migrate/field/d6/LinkField.php Plugin annotation

@MigrateField(
id = "link",
core = {6},
type_map = {
"link" = "link",
},
source_module = "link",
destination_module = "link"
)
LinkField class core/modules/link/src/Plugin/migrate/field/d7/LinkField.php @MigrateField(
id = "link_field",
core = {7},
type_map = {
"link_field" = "link"
},
source_module = "link",
destination_module = "link"
)
LinkField.php file core/modules/link/src/Plugin/migrate/field/d6/LinkField.php
LinkField.php file core/modules/link/src/Plugin/migrate/field/d7/LinkField.php
LinkField::alterFieldInstanceMigration function core/modules/link/src/Plugin/migrate/field/d7/LinkField.php Apply any custom processing to the field instance migration.
LinkField::defineValueProcessPipeline function core/modules/link/src/Plugin/migrate/field/d6/LinkField.php Apply any custom processing to the field bundle migrations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.