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 |
---|---|---|---|
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/ |
@coversDefaultClass \Drupal\Core\Utility\LinkGenerator[[api-linebreak]] @group Utility |
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. |
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(). |
LinkHooks::theme | function | core/ |
Implements hook_theme(). |
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. |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.