Search for all
- Search 7.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Search main for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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. |
| 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. |
| LinkItem | class | core/ |
Plugin implementation of the 'link' field type. |
| LinkItem.php | file | core/ |
|
| LinkItem::defaultFieldSettings | function | core/ |
Defines the field-level settings for this plugin. |
| LinkItem::fieldSettingsForm | function | core/ |
Returns a form for the field-level settings. |
| LinkItem::generateSampleValue | function | core/ |
Generates placeholder field values. |
| 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::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 enable. |
| 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. |
Pagination
- Previous page
- Page 886
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.