function HelpTopicPluginBase::isTopLevel

Returns whether this is a top-level topic or not.

Return value

bool TRUE if this is a topic that should be displayed on the Help topics list; FALSE if not.

Overrides HelpTopicPluginInterface::isTopLevel

File

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

Class

HelpTopicPluginBase
Base class for help topic plugins.

Namespace

Drupal\help_topics

Code

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

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