function HelpTopicPluginBase::toUrl
Same name in other branches
- 9 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::toUrl()
- 8.9.x core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::toUrl()
- 11.x core/modules/help/src/HelpTopicPluginBase.php \Drupal\help\HelpTopicPluginBase::toUrl()
Overrides HelpTopicPluginInterface::toUrl
File
-
core/
modules/ help/ src/ HelpTopicPluginBase.php, line 48
Class
- HelpTopicPluginBase
- Base class for help topic plugins.
Namespace
Drupal\helpCode
public function toUrl(array $options = []) {
return Url::fromRoute('help.help_topic', [
'id' => $this->getPluginId(),
], $options);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.