function HelpTopicPluginInterface::toUrl

Same name in other branches
  1. 9 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::toUrl()
  2. 8.9.x core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::toUrl()
  3. 10 core/modules/help/src/HelpTopicPluginInterface.php \Drupal\help\HelpTopicPluginInterface::toUrl()

Returns the URL for viewing the help topic.

Parameters

array $options: (optional) See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options.

Return value

\Drupal\Core\Url A URL object containing the URL for viewing the help topic.

1 method overrides HelpTopicPluginInterface::toUrl()
HelpTopicPluginBase::toUrl in core/modules/help/src/HelpTopicPluginBase.php

File

core/modules/help/src/HelpTopicPluginInterface.php, line 60

Class

HelpTopicPluginInterface
Defines an interface for help topic plugin classes.

Namespace

Drupal\help

Code

public function toUrl(array $options = []);

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