Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| LinkGeneratorTest::setUpMockModuleHandler | function | core/ |
Reinitializes the module handler as a mock object. |
| LinkGeneratorTest::setUpMockUrlGenerator | function | core/ |
Reinitializes the URL generator as a mock object. |
| 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. |
| LinkHooks | class | core/ |
Hook implementations for link. |
| LinkHooks.php | file | core/ |
|
| LinkHooks::fieldTypeCategoryInfoAlter | function | core/ |
Implements hook_field_type_category_info_alter(). |
| LinkHooks::help | function | core/ |
Implements hook_help(). |
| LinkInputValuesTraits | trait | core/ |
Provides test values for the Link field. |
| LinkInputValuesTraits.php | file | core/ |
|
| LinkInputValuesTraits::getLinkInputValues | function | core/ |
Link field values use for test. |
| 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::getTitle | function | core/ |
Gets the link title. |
| 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::onChange | function | core/ |
React to changes to a child property or item. |
| 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/ |
Pagination
- Previous page
- Page 955
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.