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
FormHooks::formMenuLinkEditAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
FormHooks::formMenuLinkEditAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.
FunctionsTest::testDrupalPreRenderLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests the use of Link::preRenderLinks() on a nested array of links.
FunctionsTest::testIndexedKeyedLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests links.html.twig using links with indexed keys.
FunctionsTest::testLinks function core/modules/system/tests/src/Kernel/Theme/FunctionsTest.php Tests links.html.twig.
GeneratedLink class core/lib/Drupal/Core/GeneratedLink.php Used to return generated links, along with associated cacheability metadata.
GeneratedLink.php file core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::$generatedLink property core/lib/Drupal/Core/GeneratedLink.php The HTML string value containing a link.
GeneratedLink::count function core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::getGeneratedLink function core/lib/Drupal/Core/GeneratedLink.php Gets the generated link.
GeneratedLink::jsonSerialize function core/lib/Drupal/Core/GeneratedLink.php
GeneratedLink::setGeneratedLink function core/lib/Drupal/Core/GeneratedLink.php Sets the generated link.
GeneratedLink::TAG constant core/lib/Drupal/Core/GeneratedLink.php HTML tag to use when building the link.
GeneratedLink::__toString function core/lib/Drupal/Core/GeneratedLink.php Returns markup.
GeneratedNoLink class core/lib/Drupal/Core/GeneratedNoLink.php This class holds a <span> generated from the <nolink> route.
GeneratedNoLink.php file core/lib/Drupal/Core/GeneratedNoLink.php
GeneratedNoLink::TAG constant core/lib/Drupal/Core/GeneratedNoLink.php HTML tag to use when building the link.
help.links.menu.yml file core/modules/help/help.links.menu.yml core/modules/help/help.links.menu.yml
Helper::convertLinkToActionLink function core/themes/admin/src/Helper.php Converts a link render element to an action link.
Helper::convertLinkToActionLink function core/themes/default_admin/src/Helper.php Converts a link render element to an action link.
HelpTopicPluginBase::toLink function core/modules/help/src/HelpTopicPluginBase.php Returns a link for viewing the help topic.
HelpTopicPluginInterface::toLink function core/modules/help/src/HelpTopicPluginInterface.php Returns a link for viewing the help topic.
HelpTopicTest::testHelpLinks function core/modules/help/tests/src/Functional/HelpTopicTest.php Verifies links on various topic pages.
HelpTwigExtension::getRouteLink function core/modules/help/src/HelpTwigExtension.php Returns a link or plain text, given text, route name, and parameters.
HelpTwigExtension::getTopicLink function core/modules/help/src/HelpTwigExtension.php Returns a link to a help topic, or the title of the topic.
help_topics_test.linked.html.twig file core/modules/help/tests/modules/help_topics_test/help_topics/help_topics_test.linked.html.twig ---
label: 'Linked topic'
---
<p>{% trans %}This topic is not supposed to be top-level.{% endtrans %}</p>
history.comment_link_builder service core/modules/history/history.services.yml Drupal\history\HistoryCommentLinkBuilder
HistoryCommentLinkBuilder class core/modules/history/src/HistoryCommentLinkBuilder.php Adds history functionality to comment links on nodes.
HistoryCommentLinkBuilder.php file core/modules/history/src/HistoryCommentLinkBuilder.php
HistoryCommentLinkBuilder::buildCommentedEntityLinks function core/modules/history/src/HistoryCommentLinkBuilder.php Builds links for the given entity.
HistoryCommentLinkBuilder::__construct function core/modules/history/src/HistoryCommentLinkBuilder.php Constructs a new HistoryCommentLinkBuilder object.
HistoryCommentLinkBuilderTest class core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php This is duplicated from CommentLinkBuilderTest with history additions.
HistoryCommentLinkBuilderTest.php file core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php
HistoryCommentLinkBuilderTest::$commentLinkBuilder property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The comment link builder.
HistoryCommentLinkBuilderTest::$commentManager property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Comment manager mock.
HistoryCommentLinkBuilderTest::$currentUser property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Current user proxy mock.
HistoryCommentLinkBuilderTest::$decoratedCommentLinkBuilder property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The decorated comment link builder.
HistoryCommentLinkBuilderTest::$entityTypeManager property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php The entity type manager.
HistoryCommentLinkBuilderTest::$stringTranslation property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php String translation mock.
HistoryCommentLinkBuilderTest::$timestamp property core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Timestamp used in test.
HistoryCommentLinkBuilderTest::getLinkCombinations function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Data provider for ::testCommentLinkBuilder.
HistoryCommentLinkBuilderTest::getMockNode function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Builds a mock node based on given scenario.
HistoryCommentLinkBuilderTest::setUp function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Prepares mocks for the test.
HistoryCommentLinkBuilderTest::testCommentLinkBuilder function core/modules/history/tests/src/Unit/HistoryCommentLinkBuilderTest.php Tests the buildCommentedEntityLinks method.
HistoryController::renderNewCommentsNodeLinks function core/modules/history/src/Controller/HistoryController.php Returns a set of nodes' last read timestamps.
HookCollectorPassTest::testSymlink function core/tests/Drupal/KernelTests/Core/Hook/HookCollectorPassTest.php Test that symlinks are properly followed.
hook_comment_links_alter function core/modules/comment/comment.api.php Alter the links of a comment.
hook_contextual_links_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter contextual links before they are rendered.
hook_contextual_links_plugins_alter function core/lib/Drupal/Core/Menu/menu.api.php Alter the plugin definition of contextual links.
hook_contextual_links_view_alter function core/modules/contextual/contextual.api.php Alter a contextual links element before it is rendered.

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