Search for setLink

  1. Search 7.x for setLink
  2. Search 9.5.x for setLink
  3. Search 10.3.x for setLink
  4. Search 11.x for setLink
  5. Other projects
Title Object type File name Summary
ActiveLinkResponseFilter::setLinkActiveClass function core/lib/Drupal/Core/EventSubscriber/ActiveLinkResponseFilter.php Sets the "is-active" class on relevant links.
ActiveLinkResponseFilterTest::providerTestSetLinkActiveClass function core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php Provides test data for testSetLinkActiveClass().
ActiveLinkResponseFilterTest::testSetLinkActiveClass function core/tests/Drupal/Tests/Core/EventSubscriber/ActiveLinkResponseFilterTest.php Tests setLinkActiveClass().
Breadcrumb::setLinks function core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php Sets the breadcrumb links.
BreadcrumbTest::testSetLinks function core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php @covers ::setLinks
ConfigurableLinkManagerInterface::setLinkDomain function core/modules/hal/src/LinkManager/ConfigurableLinkManagerInterface.php Sets the link domain used in constructing link URIs.
EntityType::setLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Sets a single link template.
EntityTypeInterface::setLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Sets a single link template.
EntityTypeTest::testSetLinkTemplateWithInvalidPath function core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php @covers ::setLinkTemplate
FieldPluginBaseTestField::setLinkGenerator function core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
HalLinkManagerTest::testHalLinkManagersSetLinkDomain function core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php @covers ::setLinkDomain
Item::setLink function core/modules/aggregator/src/Entity/Item.php Sets the link to the feed item.
ItemInterface::setLink function core/modules/aggregator/src/ItemInterface.php Sets the link to the feed item.
Link::setLinkGenerator function core/lib/Drupal/Core/Link.php Sets the link generator service.
LinkGeneratorTrait::setLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Sets the link generator service.
LinkManager::setLinkDomain function core/modules/hal/src/LinkManager/LinkManager.php
LinkManagerBase::setLinkDomain function core/modules/hal/src/LinkManager/LinkManagerBase.php
MenuLinkManager::resetLink function core/lib/Drupal/Core/Menu/MenuLinkManager.php Resets the values for a menu link based on the values found by discovery.
MenuLinkManagerInterface::resetLink function core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php Resets the values for a menu link based on the values found by discovery.
ShortcutSet::resetLinkWeights function core/modules/shortcut/src/Entity/ShortcutSet.php Resets the link weights in a shortcut set to match their current order.
ShortcutSetInterface::resetLinkWeights function core/modules/shortcut/src/ShortcutSetInterface.php Resets the link weights in a shortcut set to match their current order.
TestPathBasedBreadcrumbBuilder::setLinkGenerator function core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php

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