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
Title Object type File name Summary
LinkFieldFormStatesTest::linkFieldFormStatesData function core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Provides data for ::testLinkFieldJSFormStates.
LinkFieldFormStatesTest::testLinkFieldFormStates function core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Tests link field form states.
LinkFieldTest::doTestEditNonNodeEntityLink function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests editing a link to a non-node entity.
LinkFieldTest::doTestLinkTitle function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the link title settings of a link field.
LinkFieldTest::testLinkField function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the functionality and rendering of the link field.
LinkFieldTest::testLinkWidgetCaughtExceptionEditingInvalidUrl function core/modules/link/tests/src/Functional/LinkFieldTest.php Test link widget exception handled if link uri value is invalid.
LinkFieldWidgetTest::testLinkTypeOnLinkWidget function core/modules/link/tests/src/Kernel/LinkFieldWidgetTest.php Tests '#link_type' property exists on 'link_default' widget.
LinkFormatterDisplayTest::testLinkFormatter function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php Tests that links are rendered correctly.
LinkFormatterDisplayTest::testNullLinkOptions function core/modules/link/tests/src/Kernel/LinkFormatterDisplayTest.php Tests that links with NULL options are rendered correctly.
LinkFormatterTest::providerLinkFormatter function core/modules/link/tests/src/Kernel/LinkFormatterTest.php Data provider for ::testLinkFormatter.
LinkFormatterTest::testFormatterLinkItem function core/modules/link/tests/src/Unit/LinkFormatterTest.php Tests when LinkItem::getUrl returns a functional URL.
LinkFormatterTest::testFormatterLinkItemUrlMalformed function core/modules/link/tests/src/Unit/LinkFormatterTest.php Tests when LinkItem::getUrl with malformed URL renders empty link.
LinkFormatterTest::testFormatterLinkItemUrlUnexpectedException function core/modules/link/tests/src/Unit/LinkFormatterTest.php Tests when LinkItem::getUrl throws an unexpected exception.
LinkFormatterTest::testLinkFormatter function core/modules/link/tests/src/Kernel/LinkFormatterTest.php Tests the link formatters.
LinkGenerationTest::linkAlter function core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Implements hook_link_alter().
LinkGenerationTest::testHookLinkAlter function core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Tests how hook_link_alter() can affect escaping of the link text.
LinkGenerationTestHooks::linkAlter function core/modules/system/tests/modules/link_generation_test/src/Hook/LinkGenerationTestHooks.php Implements hook_link_alter().
LinkGeneratorTest::$linkGenerator property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The tested link generator.
LinkGeneratorTest::assertLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Checks that a link with certain properties exists in a given HTML snippet.
LinkGeneratorTest::testGenerateNoLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <nolink> route.
LinkInputValuesTraits::getLinkInputValues function core/modules/link/tests/src/Traits/LinkInputValuesTraits.php Link field values use for test.
LinkItemInterface::LINK_EXTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only external URLs.
LinkItemInterface::LINK_GENERIC constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports both internal and external URLs.
LinkItemInterface::LINK_INTERNAL constant core/modules/link/src/LinkItemInterface.php Specifies whether the field supports only internal URLs.
LinkItemSerializationTest::testLinkDeserialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the serialization.
LinkItemTest::testLinkItem function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests using entity fields of the link field type.
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkRelationsTest::testAvailableLinkRelationships function core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests the Link Relations returned from the Link Relation Type Manager.
links--action-links.html.twig file core/themes/admin/templates/links--action-links.html.twig {% extends "links.html.twig" %}
links--action-links.html.twig file core/themes/default_admin/templates/links--action-links.html.twig {% extends "links.html.twig" %}
Links::getLinks function core/modules/views/src/Plugin/views/field/Links.php Gets the list of links used by this field.
LinkSeparateFormatterDisplayTest::testLinkSeparateFormatter function core/modules/link/tests/src/Kernel/LinkSeparateFormatterDisplayTest.php Tests that links are rendered correctly.
LinksetController::processCustomLinkAttributes function core/modules/system/src/Controller/LinksetController.php Process custom link parameters.
LinksetController::toLinkTargetObjects function core/modules/system/src/Controller/LinksetController.php Encode a menu tree as link items and capture any cacheability metadata.
LinksetControllerTest::testCustomLinkRelation function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Tests that menu items can use a custom link relation.
LinksetControllerTestBase::getReferenceLinksetDataFromFile function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Retrieve reference linkset controller output adjusted for proper base URL.
LinkTest::linkComparisonProvider function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Provides test data for link comparison.
LinkTest::linkMergeProvider function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Provides test data for link merging.
LinkTest::testGetLinkRelationType function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Tests get link relation type.
LinkTest::testLinkComparison function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Tests link comparison.
LinkTest::testLinkMerge function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php Tests link merge.
LinkThemeHooks::preprocessLinkFormatterLinkSeparate function core/modules/link/src/Hook/LinkThemeHooks.php Prepares variables for separated link field templates.
LinkTitleRequiredConstraintValidatorTest::getMockLink function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkTitleRequiredConstraintValidatorTest.php Builds a mock Link field.
LinkViewsTokensTest::testLinkViewsTokens function core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php Tests the link views tokens.
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::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::validateTitleNoLink function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Form element validation handler for the 'title' element.

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