Search for _link

  1. Search 7.x for _link
  2. Search 8.9.x for _link
  3. Search 10.3.x for _link
  4. Search 11.x for _link
  5. Search main for _link
  6. Other projects
Title Object type File name Summary
link-formatter-link-separate.html.twig file core/themes/stable/templates/field/link-formatter-link-separate.html.twig Theme override of a link with separate title and URL elements.
link-formatter-link-separate.html.twig file core/themes/starterkit_theme/templates/field/link-formatter-link-separate.html.twig Theme override of a link with separate title and URL elements.
link-formatter-link-separate.html.twig file core/themes/classy/templates/field/link-formatter-link-separate.html.twig Theme override of a link with separate title and URL elements.
Link::$linkGenerator property core/lib/Drupal/Core/Link.php The link generator.
Link::getLinkGenerator function core/lib/Drupal/Core/Link.php Returns the link generator.
Link::getLinkRelationType function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's relation type.
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 @dataProvider linkFieldFormStatesData
LinkFieldTest::doTestEditNonNodeEntityLink function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests editing a link to a non-node entity.
LinkFieldTest::doTestLinkFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the default 'link' formatter.
LinkFieldTest::doTestLinkSeparateFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the 'link_separate' formatter.
LinkFieldTest::doTestLinkTitle function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the link title settings of a link field.
LinkFieldTest::doTestLinkTypeOnLinkWidget function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests '#link_type' property exists on 'link_default' widget.
LinkFieldTest::testLinkField function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the functionality and rendering of the link field.
LinkFieldTest::testNoLinkUri function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests <nolink> and <none> as link uri.
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.
LinkGenerationTest::testHookLinkAlter function core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Tests how hook_link_alter() can affect escaping of the link text.
LinkGenerator::generateFromLink function core/lib/Drupal/Core/Utility/LinkGenerator.php Renders a link from a link object.
LinkGeneratorInterface::generateFromLink function core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php Renders a link from a link object.
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.
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.
LinkManager::$relationLinkManager property core/modules/hal/src/LinkManager/LinkManager.php The relation link manager.
LinkManager::$typeLinkManager property core/modules/hal/src/LinkManager/LinkManager.php The type link manager.
LinkManager::setLinkDomain function core/modules/hal/src/LinkManager/LinkManager.php Sets the link domain used in constructing link URIs.
LinkManagerBase::$linkDomain property core/modules/hal/src/LinkManager/LinkManagerBase.php Link domain used for type links URIs.
LinkManagerBase::getLinkDomain function core/modules/hal/src/LinkManager/LinkManagerBase.php Gets the link domain.
LinkManagerBase::setLinkDomain function core/modules/hal/src/LinkManager/LinkManagerBase.php

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