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. Search main for _link
  6. Other projects
Title Object type File name Summary
LinkFieldTest::testLinkFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the 'link_separate' formatter.
LinkFieldTest::testLinkTitle function core/modules/link/tests/src/Functional/LinkFieldTest.php Tests the link title settings of a link field.
LinkFieldTest::testLinkTypeOnLinkWidget function core/modules/link/tests/src/Functional/LinkFieldTest.php Test '#link_type' property exists on 'link_default' widget.
LinkFieldTest::testNoLinkUri function core/modules/link/tests/src/Functional/LinkFieldTest.php Test <nolink> and <none> as link uri.
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.
LinkGeneratorTrait::$linkGenerator property core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php The link generator.
LinkGeneratorTrait::getLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Returns the link generator.
LinkGeneratorTrait::setLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Sets the link generator service.
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.
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
LinkRelationsTest::testAvailableLinkRelationships function core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests correct Link Relations are returned from the Link Relation Type Manager.
Links::getLinks function core/modules/views/src/Plugin/views/field/Links.php Gets the list of links used by this field.
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 @covers ::getLinkRelationType[[api-linebreak]]
LinkTest::testLinkComparison function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::compare[[api-linebreak]]
@dataProvider linkComparisonProvider
LinkTest::testLinkDeprecations function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @group legacy
@expectedDeprecation Constructing a Drupal\jsonapi\JsonApiResource\Link with an array of link relation types is deprecated in drupal:8.8.0 and will throw a fatal error in drupal:9.0.0. Pass a single string instead. See…
LinkTest::testLinkMerge function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::merge[[api-linebreak]]
@dataProvider linkMergeProvider
LinkViewsTokensTest::testLinkViewsTokens function core/modules/link/tests/src/Functional/Views/LinkViewsTokensTest.php
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.
link_generation_test_link_alter function core/modules/system/tests/modules/link_generation_test/link_generation_test.module Implements hook_link_alter().
locale.links.menu.yml file core/modules/locale/locale.links.menu.yml core/modules/locale/locale.links.menu.yml
locale.links.task.yml file core/modules/locale/locale.links.task.yml core/modules/locale/locale.links.task.yml
LocalReadOnlyStream::unlink function core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php Support for unlink().
LocalStream::unlink function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Support for unlink().
LoginLogoutMenuLink class core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php A menu link that shows "Log in" or "Log out" as appropriate.
LoginLogoutMenuLink.php file core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php
LoginLogoutMenuLink::$currentUser property core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php The current user.
LoginLogoutMenuLink::create function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Creates an instance of the plugin.
LoginLogoutMenuLink::getCacheContexts function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php The cache contexts associated with this object.
LoginLogoutMenuLink::getRouteName function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Returns the route name, if available.
LoginLogoutMenuLink::getTitle function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php Returns the localized title to be shown for this link.

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