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
TwigExtensionTest::testLinkWithOverriddenAttributes function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::getLink[[api-linebreak]]
TwigExtensionTest::testRenderVarWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::renderVar[[api-linebreak]]
@covers ::bubbleArgMetadata[[api-linebreak]]
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.
UserAccountLinksTest::testAnonymousLogout function core/modules/user/tests/src/Functional/UserAccountLinksTest.php Ensures that logout URL redirects an anonymous user to the front page.
UserAccountLinksTest::testDisabledAccountLink function core/modules/user/tests/src/Functional/UserAccountLinksTest.php Tests disabling the 'My account' link.
UserAccountLinksTest::testSecondaryMenu function core/modules/user/tests/src/Functional/UserAccountLinksTest.php Tests the secondary menu.
UserAdminTest::getLinkSelectorForUser function core/modules/user/tests/src/Functional/UserAdminTest.php Gets the xpath selector for a user account.
UserFieldsAccessChangeTest::testUserNameLink function core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php Test user name link.
UserLazyBuilder::renderNavigationLinks function core/modules/navigation/src/UserLazyBuilder.php Lazy builder callback for rendering navigation links.
UserLazyBuilder::userOperationLinks function core/modules/navigation/src/UserLazyBuilder.php Returns the user operation links in navigation expected format.
UserTokenReplaceTest::$useOneTimeLoginLinks property core/modules/user/tests/src/Functional/UserTokenReplaceTest.php Use one-time login links instead of submitting the login form.
VersionHistoryController::buildDeleteRevisionLink function core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php Builds a link to delete an entity revision.
VersionHistoryController::buildRevertRevisionLink function core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php Builds a link to revert an entity revision.
VersionHistoryController::getOperationLinks function core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php Get operations for an entity revision.
ViewEditTest::testDeleteLink function core/modules/views_ui/tests/src/Functional/ViewEditTest.php Tests the delete link on a views UI.
ViewExecutable::$showAdminLinks property core/modules/views/src/ViewExecutable.php Should the admin links be shown on the rendered view.
ViewExecutable::getShowAdminLinks function core/modules/views/src/ViewExecutable.php Returns whether admin links should be rendered on the view.

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