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 10.3.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
LinkItemInterface.php file core/modules/link/src/LinkItemInterface.php
LinkItemInterface::getTitle function core/modules/link/src/LinkItemInterface.php Gets the link title.
LinkItemInterface::getUrl function core/modules/link/src/LinkItemInterface.php Gets the URL object.
LinkItemInterface::isExternal function core/modules/link/src/LinkItemInterface.php Determines if a link is external.
LinkItemInterface::LINK_EXTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only external URLs.
LinkItemInterface::LINK_GENERIC constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports both internal and external URLs.
LinkItemInterface::LINK_INTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only internal URLs.
LinkItemSerializationTest class core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests link field serialization.
LinkItemSerializationTest.php file core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Modules to install.
LinkItemSerializationTest::$serializer property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php The serializer service.
LinkItemSerializationTest::setUp function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Set the default field storage backend for fields created during tests.
LinkItemSerializationTest::testLinkDeserialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the serialization.
LinkItemTest class core/modules/link/tests/src/Kernel/LinkItemTest.php Tests the new entity API for the link field type.
LinkItemTest.php file core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::$modules property core/modules/link/tests/src/Kernel/LinkItemTest.php Modules to install.
LinkItemTest::setUp function core/modules/link/tests/src/Kernel/LinkItemTest.php Set the default field storage backend for fields created during tests.
LinkItemTest::testLinkItem function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests using entity fields of the link field type.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Modules to install.
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkNotExistingInternalConstraint class core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php Defines a protocol validation constraint for links to broken internal URLs.
LinkNotExistingInternalConstraint.php file core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php
LinkNotExistingInternalConstraint::$message property core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraint.php The error message.
LinkNotExistingInternalConstraintValidator class core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php Validates the LinkNotExistingInternal constraint.
LinkNotExistingInternalConstraintValidator.php file core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidator::validate function core/modules/link/src/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidator.php
LinkNotExistingInternalConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator
@group Link
LinkNotExistingInternalConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate
LinkNotExistingInternalConstraintValidatorTest::validate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Validate the link.
LinkOptions class core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php Converts links options.
LinkOptions.php file core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php
LinkOptions::transform function core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php Performs the associated process.
LinkRelationsTest class core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests link relationships in Drupal.
LinkRelationsTest.php file core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php
LinkRelationsTest::testAvailableLinkRelationships function core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests the Link Relations returned from the Link Relation Type Manager.
LinkRelationType class core/lib/Drupal/Core/Http/LinkRelationType.php Defines a single link relationship type.
LinkRelationType.php file core/lib/Drupal/Core/Http/LinkRelationType.php
LinkRelationType::getDescription function core/lib/Drupal/Core/Http/LinkRelationType.php Returns the link relation type description.
LinkRelationType::getExtensionUri function core/lib/Drupal/Core/Http/LinkRelationType.php Returns the extension link relation type URI.
LinkRelationType::getNotes function core/lib/Drupal/Core/Http/LinkRelationType.php Returns some extra notes/comments about this link relation type.
LinkRelationType::getReference function core/lib/Drupal/Core/Http/LinkRelationType.php Returns the URL pointing to the reference of the link relation type.
LinkRelationType::getRegisteredName function core/lib/Drupal/Core/Http/LinkRelationType.php Returns the registered link relation type name.

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