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 11.x for link
  5. 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
TranslationLink class core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Provides a translation link for an entity.
TranslationLink.php file core/modules/content_translation/src/Plugin/views/field/TranslationLink.php
TranslationLink::getDefaultLabel function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Returns the default label for this link.
TranslationLink::getEntityLinkTemplate function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php Returns the entity link template name identifying the link route.
TranslationLinkTest class core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TranslationLinkTest.php file core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::$defaultTheme property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php The theme to install as the default for testing.
TranslationLinkTest::$modules property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Modules to install.
TranslationLinkTest::$testViews property core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Views used by this test.
TranslationLinkTest::getTranslatorPermissions function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Returns an array of permissions needed for the translator.
TranslationLinkTest::setUp function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php
TranslationLinkTest::testTranslationLink function core/modules/content_translation/tests/src/Functional/Views/TranslationLinkTest.php Tests the content translation overview link field handler.
TwigExtension::getLink function core/lib/Drupal/Core/Template/TwigExtension.php Gets a rendered link from a URL object.
TwigExtensionTest::testEscapeWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::escapeFilter
@covers ::bubbleArgMetadata
TwigExtensionTest::testLinkWithOverriddenAttributes function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::getLink
TwigExtensionTest::testRenderVarWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::renderVar
@covers ::bubbleArgMetadata
TwigThemeTestController::linkGeneratorRender function core/modules/system/tests/modules/twig_theme_test/src/TwigThemeTestController.php Renders for testing link_generator functions in a Twig template.
twig_theme_test.link_generator.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig_theme_test.link_generator.html.twig <div>link via the linkgenerator: {{ link('register', test_url) }}</div>
<div>link via the linkgenerator: {{ link('register', test_url, {'foo': 'bar'}) }}</div>
<div>link via the…
UiHelperTrait::$useOneTimeLoginLinks property core/tests/Drupal/Tests/UiHelperTrait.php Use one-time login links instead of submitting the login form.
UiHelperTrait::clickLink function core/tests/Drupal/Tests/UiHelperTrait.php Follows a link by complete name.
umami_preprocess_links function core/profiles/demo_umami/themes/umami/umami.theme Implements template_preprocess_links().
umami_preprocess_links__media_library_menu function core/profiles/demo_umami/themes/umami/umami.theme Implements hook_preprocess_links__media_library_menu().
UndefinedLinkTemplateException class core/lib/Drupal/Core/Entity/Exception/UndefinedLinkTemplateException.php Defines an exception class for undefined link templates.
UndefinedLinkTemplateException.php file core/lib/Drupal/Core/Entity/Exception/UndefinedLinkTemplateException.php
update.links.action.yml file core/modules/update/update.links.action.yml core/modules/update/update.links.action.yml
update.links.menu.yml file core/modules/update/update.links.menu.yml core/modules/update/update.links.menu.yml
update.links.task.yml file core/modules/update/update.links.task.yml core/modules/update/update.links.task.yml
UpdateScriptTest::testMaintenanceModeLink function core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Tests maintenance mode link on update.php.
UpdateTestBase::assertVersionUpdateLinks function core/modules/update/tests/src/Functional/UpdateTestBase.php Asserts that an update version has the correct links.
UriLinkFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php Plugin implementation of the 'uri_link' formatter.
UriLinkFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php
UriLinkFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/UriLinkFormatter.php Builds a renderable array for a field value.
UrlTest::testActiveLinkAttributes function core/modules/system/tests/src/Functional/Common/UrlTest.php Tests the active class in links.
UrlTest::testLinkAttributes function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that default and custom attributes are handled correctly on links.
UrlTest::testLinkBubbleableMetadata function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that #type=link bubbles outbound route/path processors' metadata.
UrlTest::testLinkRenderArrayText function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests that link functions support render arrays as 'text'.
UrlTest::testLinkXSS function core/modules/system/tests/src/Kernel/Common/UrlTest.php Confirms that invalid URLs are filtered in link generating functions.
user.links.action.yml file core/modules/user/user.links.action.yml core/modules/user/user.links.action.yml
user.links.contextual.yml file core/modules/user/user.links.contextual.yml core/modules/user/user.links.contextual.yml
user.links.menu.yml file core/modules/user/user.links.menu.yml core/modules/user/user.links.menu.yml
user.links.task.yml file core/modules/user/user.links.task.yml core/modules/user/user.links.task.yml
user.link_relation_types.yml file core/modules/user/user.link_relation_types.yml core/modules/user/user.link_relation_types.yml
user.module_permissions_link_helper service core/modules/user/user.services.yml Drupal\user\ModulePermissionsLinkHelper
user.toolbar_link_builder service core/modules/user/user.services.yml Drupal\user\ToolbarLinkBuilder
UserAccountLinksTest class core/modules/user/tests/src/Functional/UserAccountLinksTest.php Tests user-account links.
UserAccountLinksTest.php file core/modules/user/tests/src/Functional/UserAccountLinksTest.php
UserAccountLinksTest::$defaultTheme property core/modules/user/tests/src/Functional/UserAccountLinksTest.php The theme to install as the default for testing.
UserAccountLinksTest::$modules property core/modules/user/tests/src/Functional/UserAccountLinksTest.php Modules to install.
UserAccountLinksTest::setUp function core/modules/user/tests/src/Functional/UserAccountLinksTest.php
UserAccountLinksTest::testAccountPageTitles function core/modules/user/tests/src/Functional/UserAccountLinksTest.php Tests page title is set correctly on user account tabs.

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