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
Link::preRenderLink function core/lib/Drupal/Core/Render/Element/Link.php Pre-render callback: Renders a link into #markup.
Link::preRenderLinks function core/lib/Drupal/Core/Render/Element/Link.php Pre-render callback: Collects child links into a single array.
Link::setLinkGenerator function core/lib/Drupal/Core/Link.php Sets the link generator service.
LinkApprove::renderLink function core/modules/comment/src/Plugin/views/field/LinkApprove.php Prepares the link to view an entity.
LinkBase::renderLink function core/modules/views/src/Plugin/views/field/LinkBase.php Prepares the link to view an entity.
LinkCollection::$links property core/modules/jsonapi/src/JsonApiResource/LinkCollection.php The links in the collection, keyed by unique strings.
LinkCollection::hasLinkWithKey function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Whether a link with the given key exists.
LinkCollection::withLink function core/modules/jsonapi/src/JsonApiResource/LinkCollection.php Gets a new LinkCollection with the given link inserted.
LinkCollectionNormalizer::LINK_CONTEXT constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the context object of the link.
LinkCollectionNormalizer::LINK_KEY constant core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php The normalizer $context key name for the key of an individual link.
LinkCollectionNormalizerTest::linkAccessTestData function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Provides test cases for testing link access checking.
LinkCollectionNormalizerTest::testLinkAccess function core/modules/jsonapi/tests/src/Kernel/Normalizer/LinkCollectionNormalizerTest.php Tests the link collection normalizer.
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.

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