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

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Link class core/modules/jsonapi/src/JsonApiResource/Link.php Represents an RFC8288 based link.
Link class core/lib/Drupal/Core/Render/Element/Link.php Provides a link render element.
Link class core/lib/Drupal/Core/Link.php Defines an object that holds information about a link.

All search results

Title Object type File name Summary
filter.links.task.yml file core/modules/filter/filter.links.task.yml core/modules/filter/filter.links.task.yml
FilterUrl::parseEmailLinks function core/modules/filter/src/Plugin/Filter/FilterUrl.php Makes links out of email addresses.
FilterUrl::parseFullLinks function core/modules/filter/src/Plugin/Filter/FilterUrl.php Makes links out of absolute URLs.
FilterUrl::parsePartialLinks function core/modules/filter/src/Plugin/Filter/FilterUrl.php Makes links out of domain names starting with "www.".
FormErrorHandlerCKEditor5Test::testFragmentLink function core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditor5Test.php Tests if the fragment link to a textarea works with CKEditor 5 enabled.
FormErrorHandlerTest::$linkGenerator property core/modules/inline_form_errors/tests/src/Unit/FormErrorHandlerTest.php The link generator.
FormHooks::formMenuLinkContentFormAlter function core/themes/admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
FormHooks::formMenuLinkContentFormAlter function core/themes/default_admin/src/Hook/FormHooks.php Implements hook_form_BASE_FORM_ID_alter() for MenuLinkContentForm.
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.
gin-action-link.css file core/themes/default_admin/migration/css/base/gin-action-link.css /*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/

.action-link {
color: var(--gin-color-primary);
border-radius: var(--gin-border-s);
background:…
gin-action-link.pcss.css file core/themes/default_admin/migration/css/base/gin-action-link.pcss.css .action-link {
color: var(--gin-color-primary);
border-radius: var(--gin-border-s);
background: transparent;

&:hover {
color: var(--gin-color-primary-hover);
background: var(--gin-bg-item-hover);
}

&:focus {
color:…
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.

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