Search for getLink

  1. Search 7.x for getLink
  2. Search 9.5.x for getLink
  3. Search 10.3.x for getLink
  4. Search 11.x for getLink
  5. Other projects
Title Object type File name Summary
BookManager::getLinkDefaults function core/modules/book/src/BookManager.php Returns an array with default values for a book page's menu link.
BookManagerInterface::getLinkDefaults function core/modules/book/src/BookManagerInterface.php Returns an array with default values for a book page's menu link.
Breadcrumb::getLinks function core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php Gets the breadcrumb links.
CommentLinkBuilderTest::getLinkCombinations function core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php Data provider for ::testCommentLinkBuilder.
DisplayPluginBase::getLinkDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Returns the ID of the display to use when making links.
DisplayPluginInterface::getLinkDisplay function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Returns the ID of the display to use when making links.
EntityType::getLinkTemplate function core/lib/Drupal/Core/Entity/EntityType.php Gets the link template for a given key.
EntityType::getLinkTemplates function core/lib/Drupal/Core/Entity/EntityType.php Gets the link templates using the URI template syntax.
EntityTypeInterface::getLinkTemplate function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the link template for a given key.
EntityTypeInterface::getLinkTemplates function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Gets the link templates using the URI template syntax.
Item::getLink function core/modules/aggregator/src/Entity/Item.php Returns the link to the feed item.
ItemInterface::getLink function core/modules/aggregator/src/ItemInterface.php Returns the link to the feed item.
JsonApiDocumentTopLevel::getLinks function core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php Gets the links.
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
Link::getLinkGenerator function core/lib/Drupal/Core/Link.php Returns the link generator.
Link::getLinkRelationType function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's relation type.
Link::getLinkRelationTypes function core/modules/jsonapi/src/JsonApiResource/Link.php Gets the link's relation types.
LinkGeneratorTrait::getLinkGenerator function core/lib/Drupal/Core/Routing/LinkGeneratorTrait.php Returns the link generator.
LinkManagerBase::getLinkDomain function core/modules/hal/src/LinkManager/LinkManagerBase.php Gets the link domain.
Links::getLinks function core/modules/views/src/Plugin/views/field/Links.php Gets the list of links used by this field.
LinkTest::testGetLinkRelationType function core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php @covers ::getLinkRelationType
Relationship::getLinks function core/modules/jsonapi/src/JsonApiResource/Relationship.php Gets the relationship object's links.
ResourceObject::getLinks function core/modules/jsonapi/src/JsonApiResource/ResourceObject.php Gets the ResourceObject's links.
ResourceResponseTestTrait::getLinkPaths function core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php Turns a list of relationship field names into an array of link paths.
TwigExtension::getLink function core/lib/Drupal/Core/Template/TwigExtension.php Gets a rendered link from a url object.

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