Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkGeneratorTest::testGenerateBubbleableMetadata | function | core/ |
Tests the LinkGenerator's support for collecting bubbleable metadata. |
| LinkGeneratorTest::testGenerateButton | function | core/ |
Tests the generate() method with the <button> route. |
| LinkGeneratorTest::testGenerateExternal | function | core/ |
Tests the generate() method with an external URL. |
| LinkGeneratorTest::testGenerateHrefs | function | core/ |
Tests the link method with certain hrefs. |
| LinkGeneratorTest::testGenerateNoLink | function | core/ |
Tests the generate() method with the <nolink> route. |
| LinkGeneratorTest::testGenerateNone | function | core/ |
Tests the generate() method with the <none> route. |
| LinkGeneratorTest::testGenerateOptions | function | core/ |
Tests the link method with arbitrary passed options. |
| LinkGeneratorTest::testGenerateParametersAsQuery | function | core/ |
Tests the link method with passed query options via parameters. |
| LinkGeneratorTest::testGenerateQuery | function | core/ |
Tests the link method with passed query options. |
| LinkGeneratorTest::testGenerateTwice | function | core/ |
Tests whether rendering the same link twice works. |
| LinkGeneratorTest::testGenerateUrlWithQuotes | function | core/ |
Tests the generate() method with a URL containing double quotes. |
| LinkGeneratorTest::testGenerateWithAlterHook | function | core/ |
Tests altering the URL object using hook_link_alter(). |
| LinkGeneratorTest::testGenerateWithHtml | function | core/ |
Tests the link method with html. |
| LinkGeneratorTest::testGenerateXss | function | core/ |
Tests the link method with a script tab. |
| LinkNotExistingInternalConstraintValidator | class | core/ |
Validates the LinkNotExistingInternal constraint. |
| LinkNotExistingInternalConstraintValidator.php | file | core/ |
|
| LinkNotExistingInternalConstraintValidator::validate | function | core/ |
|
| LinkNotExistingInternalConstraintValidatorTest | class | core/ |
Tests Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator. |
| LinkNotExistingInternalConstraintValidatorTest.php | file | core/ |
|
| LinkNotExistingInternalConstraintValidatorTest::testEmptyField | function | core/ |
Tests validating an empty Link field. |
| LinkNotExistingInternalConstraintValidatorTest::testUnexpectedValue | function | core/ |
Tests validating a value that isn't a LinkItemInterface. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute | function | core/ |
Tests validate from non existing route. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute | function | core/ |
Tests validate from route. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri | function | core/ |
Tests validate from uri. |
| LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri | function | core/ |
Tests validate with malformed uri. |
| LinkNotExistingInternalConstraintValidatorTest::validate | function | core/ |
Validate the link. |
| LinksetController::processCustomLinkAttributes | function | core/ |
Process custom link parameters. |
| LinksetController::toLinkTargetObjects | function | core/ |
Encode a menu tree as link items and capture any cacheability metadata. |
| LinksetControllerTest::testCustomLinkRelation | function | core/ |
Tests that menu items can use a custom link relation. |
| LinkTitleRequiredConstraintValidator | class | core/ |
Constraint validator for link title subfields if a URL was entered. |
| LinkTitleRequiredConstraintValidator.php | file | core/ |
|
| LinkTitleRequiredConstraintValidator::validate | function | core/ |
|
| LinkTitleRequiredConstraintValidatorTest | class | core/ |
Tests LinkTitleRequiredConstraintValidator::validate(). |
| LinkTitleRequiredConstraintValidatorTest.php | file | core/ |
|
| LinkTitleRequiredConstraintValidatorTest::doValidate | function | core/ |
Validate the field value. |
| LinkTitleRequiredConstraintValidatorTest::getMockLink | function | core/ |
Builds a mock Link field. |
| LinkTitleRequiredConstraintValidatorTest::testEmptyTitle | function | core/ |
Tests the failure case of a value with a non-empty URI and an empty title. |
| LinkTitleRequiredConstraintValidatorTest::testEmptyUri | function | core/ |
Tests passing a value with an empty URI. |
| LinkTitleRequiredConstraintValidatorTest::testTitleNotRequired | function | core/ |
Tests passing a value with a non-required title. |
| LinkTitleRequiredConstraintValidatorTest::testUnexpectedValue | function | core/ |
Tests validating a value that isn't a LinkItemInterface. |
| LinkTypeConstraintValidator | class | core/ |
Constraint validator for links receiving data allowed by its settings. |
| LinkTypeConstraintValidator.php | file | core/ |
|
| LinkTypeConstraintValidator::validate | function | core/ |
|
| LinkTypeConstraintValidatorTest | class | core/ |
Tests LinkTypeConstraintValidator. |
| LinkTypeConstraintValidatorTest.php | file | core/ |
|
| LinkTypeConstraintValidatorTest::doValidate | function | core/ |
Validate the link. |
| LinkTypeConstraintValidatorTest::getMockFieldDefinition | function | core/ |
Builds a mock Link field definition. |
| LinkTypeConstraintValidatorTest::testBadExternal | function | core/ |
Validate an internal link in an external-only field. |
| LinkTypeConstraintValidatorTest::testBadInternal | function | core/ |
Validate an external link in an internal-only field. |
| LinkTypeConstraintValidatorTest::testBadUrl | function | core/ |
Validate a URL that throws an exception. |
Pagination
- Previous page
- Page 158
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.