You are here

public function HelpTopicPluginBase::getRelated in Drupal 9

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

Code

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