You are here

public function HelpTopicPluginBase::getLabel in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::getLabel()

Returns the label of the topic.

Return value

string The label of the topic.

Overrides HelpTopicPluginInterface::getLabel

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

File

core/modules/help_topics/src/HelpTopicPluginBase.php, line 29

Class

HelpTopicPluginBase
Base class for help topic plugins.

Namespace

Drupal\help_topics

Code

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