protected function HelpTopicPluginManager::providerExists in Drupal 9
Same name and namespace in other branches
- 8 core/modules/help_topics/src/HelpTopicPluginManager.php \Drupal\help_topics\HelpTopicPluginManager::providerExists()
Determines if the provider of a definition exists.
Return value
bool TRUE if provider exists, FALSE otherwise.
Overrides DefaultPluginManager::providerExists
File
- core/
modules/ help_topics/ src/ HelpTopicPluginManager.php, line 160
Class
- HelpTopicPluginManager
- Provides the default help_topic manager.
Namespace
Drupal\help_topicsCode
protected function providerExists($provider) {
return $this->moduleHandler
->moduleExists($provider) || $this->themeHandler
->themeExists($provider);
}