public function HelpTopicPluginBase::getRelated in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::getRelated()
- 10 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::getRelated()
Returns the IDs of related topics.
Return value
string[] Array of the IDs of related topics.
Overrides HelpTopicPluginInterface::getRelated
File
- core/
modules/ help_topics/ src/ HelpTopicPluginBase.php, line 43
Class
- HelpTopicPluginBase
- Base class for help topic plugins.
Namespace
Drupal\help_topicsCode
public function getRelated() {
return $this->pluginDefinition['related'];
}