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 |
---|---|---|---|
LinkTypeConstraintValidator | class | core/ |
Constraint validator for links receiving data allowed by its settings. |
LinkTypeConstraintValidator.php | file | core/ |
|
LinkTypeConstraintValidator::validate | function | core/ |
|
LinkUri | class | core/ |
Generates an internal URI from the source value. |
LinkUri | class | core/ |
Processes a link path into an 'internal:' or 'entity:' URI. |
LinkUri.php | file | core/ |
|
LinkUri.php | file | core/ |
|
LinkUri::$entityTypeManager | property | core/ |
The entity type manager, used to fetch entity link templates. |
LinkUri::create | function | core/ |
Creates an instance of the plugin. |
LinkUri::transform | function | core/ |
Performs the associated process. |
LinkUri::__construct | function | core/ |
Constructs a LinkUri object. |
LinkUriTest | class | core/ |
Tests \Drupal\menu_link_content\Plugin\migrate\process\LinkUri. |
LinkUriTest.php | file | core/ |
|
LinkUriTest::$modules | property | core/ |
Modules to enable. |
LinkUriTest::doTransform | function | core/ |
Transforms a link path into an 'internal:' or 'entity:' URI. |
LinkUriTest::providerTestDisablingRouteValidation | function | core/ |
Provides test cases for LinkUriTest::testDisablingRouteValidation(). |
LinkUriTest::providerTestNotRouted | function | core/ |
Provides test cases for LinkUriTest::testNotRouted(). |
LinkUriTest::providerTestRouted | function | core/ |
Provides test cases for LinkUriTest::testTransform(). |
LinkUriTest::setUp | function | core/ |
|
LinkUriTest::testDisablingRouteValidation | function | core/ |
Tests disabling route validation in LinkUri::transform(). |
LinkUriTest::testNotRouted | function | core/ |
Tests that Non routed URLs throws an exception. |
LinkUriTest::testRouted | function | core/ |
Tests LinkUri::transform(). |
LinkUriTest::testRoutedLegacy | function | core/ |
Tests legacy handling for LinkUri::transform(). |
LinkViewsTokensTest | class | core/ |
Tests the views integration for link tokens. |
LinkViewsTokensTest.php | file | core/ |
|
LinkViewsTokensTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
LinkViewsTokensTest::$fieldName | property | core/ |
The field name used for the link field. |
LinkViewsTokensTest::$modules | property | core/ |
Modules to enable. |
LinkViewsTokensTest::$testViews | property | core/ |
Views used by this test. |
LinkViewsTokensTest::setUp | function | core/ |
|
LinkViewsTokensTest::testLinkViewsTokens | function | core/ |
|
LinkWidget | class | core/ |
Plugin implementation of the 'link' widget. |
LinkWidget.php | file | core/ |
|
LinkWidget::defaultSettings | function | core/ |
Defines the default settings for this plugin. |
LinkWidget::flagErrors | function | core/ |
Override the '%uri' message parameter, to ensure that 'internal:' URIs show a validation error message that doesn't mention that scheme. |
LinkWidget::formElement | function | core/ |
Returns the form for a single field widget. |
LinkWidget::getUriAsDisplayableString | function | core/ |
Gets the URI without the 'internal:' or 'entity:' scheme. |
LinkWidget::getUserEnteredStringAsUri | function | core/ |
Gets the user-entered string as a URI. |
LinkWidget::massageFormValues | function | core/ |
Massages the form values into the format expected for field values. |
LinkWidget::settingsForm | function | core/ |
Returns a form to configure settings for the widget. |
LinkWidget::settingsSummary | function | core/ |
Returns a short summary for the current widget settings. |
LinkWidget::supportsExternalLinks | function | core/ |
Indicates enabled support for link to external URLs. |
LinkWidget::supportsInternalLinks | function | core/ |
Indicates enabled support for link to routes. |
LinkWidget::validateTitleElement | function | core/ |
Form element validation handler for the 'title' element. |
LinkWidget::validateTitleNoLink | function | core/ |
Form element validation handler for the 'title' element. |
LinkWidget::validateUriElement | function | core/ |
Form element validation handler for the 'uri' element. |
link_generation_test.info.yml | file | core/ |
core/modules/system/tests/modules/link_generation_test/link_generation_test.info.yml |
link_generation_test.module | file | core/ |
Helper module for the link generation tests. |
link_generation_test_link_alter | function | core/ |
Implements hook_link_alter(). |
link_generator | service | core/ |
Drupal\Core\Utility\LinkGenerator |
Pagination
- Previous page
- Page 25
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.