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 |
---|---|---|---|
LinkTest.php | file | core/ |
|
LinkTest::linkComparisonProvider | function | core/ |
Provides test data for link comparison. |
LinkTest::linkMergeProvider | function | core/ |
Provides test data for link merging. |
LinkTest::mockUrlAssembler | function | core/ |
Mocks the unrouted URL assembler. |
LinkTest::testGetLinkRelationType | function | core/ |
@covers ::getLinkRelationType |
LinkTest::testLinkComparison | function | core/ |
@covers ::compare @dataProvider linkComparisonProvider |
LinkTest::testLinkMerge | function | core/ |
@covers ::merge @dataProvider linkMergeProvider |
LinkTestBaseFieldHooks | class | core/ |
Hook implementations for link_test_base_field. |
LinkTestBaseFieldHooks.php | file | core/ |
|
LinkTestBaseFieldHooks::entityBaseFieldInfo | function | core/ |
Implements hook_entity_base_field_info(). |
LinkTypeConstraint | class | core/ |
Validation constraint for links receiving data allowed by its settings. |
LinkTypeConstraint.php | file | core/ |
|
LinkTypeConstraint::$message | property | core/ |
The error message. |
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.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 install. |
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(). |
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 install. |
LinkViewsTokensTest::$testViews | property | core/ |
Views used by this test. |
LinkViewsTokensTest::setUp | function | core/ |
Sets up the test. |
LinkViewsTokensTest::testLinkViewsTokens | function | core/ |
Tests the link views tokens. |
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. |
Pagination
- Previous page
- Page 26
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.