You are here

public function HelpTopicPluginInterface::toUrl in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\HelpTopicPluginInterface::toUrl()
  2. 9 core/modules/help_topics/src/HelpTopicPluginInterface.php \Drupal\help_topics\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.

File

core/modules/help_topics/src/HelpTopicPluginInterface.php, line 65

Class

HelpTopicPluginInterface
Defines an interface for help topic plugin classes.

Namespace

Drupal\help_topics

Code

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