function HelpTopicPluginBase::getLabel

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

Overrides HelpTopicPluginInterface::getLabel

1 call to HelpTopicPluginBase::getLabel()
HelpTopicPluginBase::toLink in core/modules/help/src/HelpTopicPluginBase.php
Returns a link for viewing the help topic.

File

core/modules/help/src/HelpTopicPluginBase.php, line 27

Class

HelpTopicPluginBase
Base class for help topic plugins.

Namespace

Drupal\help

Code

public function getLabel() {
    return $this->pluginDefinition['label'];
}

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