Search for toLink

  1. Search 7.x for toLink
  2. Search 9.5.x for toLink
  3. Search 8.9.x for toLink
  4. Search 11.x for toLink
  5. Other projects
Title Object type File name Summary
ContextualUnitTest::testContextualIdToLinks function core/modules/contextual/tests/src/Kernel/ContextualUnitTest.php Tests the conversion from contextual ID to links.
EntityBase::toLink function core/lib/Drupal/Core/Entity/EntityBase.php Generates the HTML for a link to this entity.
EntityInterface::toLink function core/lib/Drupal/Core/Entity/EntityInterface.php Generates the HTML for a link to this entity.
EntityLinkTest::testToLink function core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php Tests for the Entity::toLink() method.
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.
LinksetController::toLinkTargetObjects function core/modules/system/src/Controller/LinksetController.php Encode a menu tree as link items and capture any cacheability metadata.
ViewUI::toLink function core/modules/views_ui/src/ViewUI.php Generates the HTML for a link to this entity.

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