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 |
---|---|---|---|
LinkItem::getUrl | function | core/ |
Gets the URL object. |
LinkItem::isEmpty | function | core/ |
Determines whether the data structure is empty. |
LinkItem::isExternal | function | core/ |
Determines if a link is external. |
LinkItem::mainPropertyName | function | core/ |
Returns the name of the main property, if any. |
LinkItem::propertyDefinitions | function | core/ |
Defines field item properties. |
LinkItem::schema | function | core/ |
Returns the schema for the field. |
LinkItem::setValue | function | core/ |
Overrides \Drupal\Core\TypedData\TypedData::setValue(). |
LinkItemInterface | interface | core/ |
Defines an interface for the link field item. |
LinkItemInterface.php | file | core/ |
|
LinkItemInterface::getTitle | function | core/ |
Gets the link title. |
LinkItemInterface::getUrl | function | core/ |
Gets the URL object. |
LinkItemInterface::isExternal | function | core/ |
Determines if a link is external. |
LinkItemInterface::LINK_EXTERNAL | constant | core/ |
Specifies whether the field supports only external URLs. |
LinkItemInterface::LINK_GENERIC | constant | core/ |
Specifies whether the field supports both internal and external URLs. |
LinkItemInterface::LINK_INTERNAL | constant | core/ |
Specifies whether the field supports only internal URLs. |
LinkItemSerializationTest | class | core/ |
Tests link field serialization. |
LinkItemSerializationTest.php | file | core/ |
|
LinkItemSerializationTest::$modules | property | core/ |
Modules to install. |
LinkItemSerializationTest::$serializer | property | core/ |
The serializer service. |
LinkItemSerializationTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
LinkItemSerializationTest::testLinkDeserialization | function | core/ |
Tests the deserialization. |
LinkItemSerializationTest::testLinkSerialization | function | core/ |
Tests the serialization. |
LinkItemTest | class | core/ |
Tests the new entity API for the link field type. |
LinkItemTest.php | file | core/ |
|
LinkItemTest::$modules | property | core/ |
Modules to install. |
LinkItemTest::setUp | function | core/ |
Set the default field storage backend for fields created during tests. |
LinkItemTest::testLinkItem | function | core/ |
Tests using entity fields of the link field type. |
LinkItemUrlValidationTest | class | core/ |
Tests link field validation. |
LinkItemUrlValidationTest.php | file | core/ |
|
LinkItemUrlValidationTest::$modules | property | core/ |
Modules to install. |
LinkItemUrlValidationTest::getTestLinks | function | core/ |
Builds an array of links to test. |
LinkItemUrlValidationTest::testExternalLinkValidation | function | core/ |
Tests link validation. |
LinkNotExistingInternalConstraint | class | core/ |
Defines a protocol validation constraint for links to broken internal URLs. |
LinkNotExistingInternalConstraint.php | file | core/ |
|
LinkNotExistingInternalConstraint::$message | property | core/ |
The error message. |
LinkNotExistingInternalConstraintValidator | class | core/ |
Validates the LinkNotExistingInternal constraint. |
LinkNotExistingInternalConstraintValidator.php | file | core/ |
|
LinkNotExistingInternalConstraintValidator::validate | function | core/ |
|
LinkNotExistingInternalConstraintValidatorTest | class | core/ |
@coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator[[api-linebreak]] @group Link |
LinkNotExistingInternalConstraintValidatorTest.php | file | core/ |
|
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute | function | core/ |
@covers ::validate[[api-linebreak]] |
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute | function | core/ |
@covers ::validate[[api-linebreak]] |
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri | function | core/ |
@covers ::validate[[api-linebreak]] |
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri | function | core/ |
@covers ::validate[[api-linebreak]] |
LinkNotExistingInternalConstraintValidatorTest::validate | function | core/ |
Validate the link. |
LinkOptions | class | core/ |
Converts links options. |
LinkOptions.php | file | core/ |
|
LinkOptions::transform | function | core/ |
Performs the associated process. |
LinkRelationsTest | class | core/ |
Tests link relationships in Drupal. |
LinkRelationsTest.php | file | core/ |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.