Search for link

  1. Search 7.x for link
  2. Search 9.5.x for link
  3. Search 8.9.x for link
  4. Search 10.3.x for link
  5. Search main for link
  6. 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
LinkTypeConstraintValidatorTest::getMockFieldDefinition function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Builds a mock Link field definition.
LinkTypeConstraintValidatorTest::testBadExternal function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate an internal link in an external-only field.
LinkTypeConstraintValidatorTest::testBadInternal function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate an external link in an internal-only field.
LinkTypeConstraintValidatorTest::testBadUrl function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate a URL that throws an exception.
LinkTypeConstraintValidatorTest::testEmptyField function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Tests validating an empty Link field.
LinkTypeConstraintValidatorTest::testExternal function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate a good external link.
LinkTypeConstraintValidatorTest::testGeneric function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate a URL in a field that accepts both internal and external URLs.
LinkTypeConstraintValidatorTest::testInternal function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Validate a good internal link.
LinkTypeConstraintValidatorTest::testUnexpectedValue function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTypeConstraintValidatorTest.php Tests validating a value that isn't a LinkItemInterface.
LinkUri class core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php Generates an internal URI from the source value.
LinkUri.php file core/modules/menu_link_content/src/Plugin/migrate/process/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::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 install.
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().
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 install.
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 Sets up the test.
LinkViewsTokensTest::testLinkViewsTokens function core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php Tests the link views tokens.
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::errorElement function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Assigns a field-level validation error to the right widget sub-element.
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::isNoLinkRoute function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Checks if a given route name is one of Drupal's special no-link routes.
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.

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