Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkAccessConstraintValidatorTest.php | file | core/ |
|
| LinkAccessConstraintValidatorTest::providerValidate | function | core/ |
Data provider for LinkAccessConstraintValidator::validate(). |
| LinkAccessConstraintValidatorTest::testEmptyField | function | core/ |
Tests validating an empty Link field. |
| LinkAccessConstraintValidatorTest::testUnexpectedValue | function | core/ |
Tests validating a value that isn't a LinkItemInterface. |
| LinkAccessConstraintValidatorTest::testValidate | function | core/ |
Tests the access validation constraint for links. |
| LinkBase::$entityRepository | property | core/ |
The entity repository. |
| LinkBase::getEntityRepository | function | core/ |
|
| LinkCollection::getIterator | function | core/ |
|
| LinkExternalProtocolsConstraint | class | core/ |
Defines a protocol validation constraint for links to external URLs. |
| LinkExternalProtocolsConstraint.php | file | core/ |
|
| LinkExternalProtocolsConstraint::$message | property | core/ |
The error message. |
| LinkExternalProtocolsConstraintValidator | class | core/ |
Validates the LinkExternalProtocols constraint. |
| LinkExternalProtocolsConstraintValidator.php | file | core/ |
|
| LinkExternalProtocolsConstraintValidator::validate | function | core/ |
|
| LinkExternalProtocolsConstraintValidatorTest | class | core/ |
Tests Drupal\link\Plugin\Validation\Constraint\LinkExternalProtocolsConstraintValidator. |
| LinkExternalProtocolsConstraintValidatorTest.php | file | core/ |
|
| LinkExternalProtocolsConstraintValidatorTest::providerValidate | function | core/ |
Data provider for ::testValidate. |
| LinkExternalProtocolsConstraintValidatorTest::testEmptyField | function | core/ |
Tests validating an empty Link field. |
| LinkExternalProtocolsConstraintValidatorTest::testUnexpectedValue | function | core/ |
Tests validating a value that isn't a LinkItemInterface. |
| LinkExternalProtocolsConstraintValidatorTest::testValidate | function | core/ |
Tests validate. |
| LinkExternalProtocolsConstraintValidatorTest::testValidateIgnoresInternalUrls | function | core/ |
Tests validate ignores internal urls. |
| LinkExternalProtocolsConstraintValidatorTest::testValidateWithMalformedUri | function | core/ |
Tests validate with malformed uri. |
| LinkFieldTest::$fieldStorage | property | core/ |
A field to use in this test class. |
| LinkFormatter::$pathValidator | property | core/ |
The path validator service. |
| LinkGenerator | class | core/ |
Provides a class which generates a link with route names and parameters. |
| LinkGenerator.php | file | core/ |
|
| LinkGenerator::$moduleHandler | property | core/ |
The module handler firing the route_link alter hook. |
| LinkGenerator::$renderer | property | core/ |
The renderer service. |
| LinkGenerator::$urlGenerator | property | core/ |
The URL generator. |
| LinkGenerator::doGenerate | function | core/ |
Generates the link. |
| LinkGenerator::generate | function | core/ |
For anonymous users, the "active" class will be calculated on the server, because most sites serve each anonymous user the same cached page anyway. For authenticated users, the "active" class will be calculated on the client… |
| LinkGenerator::__construct | function | core/ |
Constructs a LinkGenerator instance. |
| LinkGeneratorInterface | interface | core/ |
Defines an interface for generating links from route names and parameters. |
| LinkGeneratorInterface.php | file | core/ |
|
| LinkGeneratorInterface::generate | function | core/ |
Renders a link to a URL. |
| LinkGeneratorTest | class | core/ |
Tests Drupal\Core\Utility\LinkGenerator. |
| LinkGeneratorTest.php | file | core/ |
|
| LinkGeneratorTest::$defaultOptions | property | core/ |
Contains the LinkGenerator default options. |
| LinkGeneratorTest::$linkGenerator | property | core/ |
The tested link generator. |
| LinkGeneratorTest::$moduleHandler | property | core/ |
The mocked module handler. |
| LinkGeneratorTest::$renderer | property | core/ |
The mocked renderer service. |
| LinkGeneratorTest::$urlAssembler | property | core/ |
The mocked URL Assembler service. |
| LinkGeneratorTest::$urlGenerator | property | core/ |
The mocked URL generator. |
| LinkGeneratorTest::assertLink | function | core/ |
Checks that a link with certain properties exists in a given HTML snippet. |
| LinkGeneratorTest::assertNoXPathResults | function | core/ |
Checks that the given XPath query has no results in a given HTML snippet. |
| LinkGeneratorTest::providerTestGenerateHrefs | function | core/ |
Provides test data for testing the link method. |
| LinkGeneratorTest::setUp | function | core/ |
|
| LinkGeneratorTest::testGenerate | function | core/ |
Tests the generate() method with a route. |
| LinkGeneratorTest::testGenerateActive | function | core/ |
Tests the active class on the link method. |
| LinkGeneratorTest::testGenerateAttributes | function | core/ |
Tests the link method with additional attributes. |
Pagination
- Previous page
- Page 157
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.