Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 8.9.x for link
  4. Search 11.x for link
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

Title Object type File name Summary
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
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::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
@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 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::$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 phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
LinkExternalProtocolsConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator
@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
@dataProvider providerValidate
@runInSeparateProcess
LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkExternalProtocolsConstraintValidatorTest.php @covers ::validate
LinkField class core/modules/link/src/Plugin/migrate/field/d6/LinkField.php
LinkField class core/modules/link/src/Plugin/migrate/field/d7/LinkField.php MigrateField Plugin for Drupal 7 link fields.
LinkField.php file core/modules/link/src/Plugin/migrate/field/d6/LinkField.php

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