Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 10.3.x for link
  4. Search 11.x for link
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.