public function HelpTopicPluginBase::isTopLevel in Drupal 8
Same name and namespace in other branches
- 9 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\HelpTopicPluginBase::isTopLevel()
- 10 core/modules/help_topics/src/HelpTopicPluginBase.php \Drupal\help_topics\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_topicsCode
public function isTopLevel() {
return $this->pluginDefinition['top_level'];
}