function HelpTopicPluginManager::providerExists

Same name in other branches
  1. 9 core/modules/help_topics/src/HelpTopicPluginManager.php \Drupal\help_topics\HelpTopicPluginManager::providerExists()
  2. 10 core/modules/help/src/HelpTopicPluginManager.php \Drupal\help\HelpTopicPluginManager::providerExists()
  3. 11.x core/modules/help/src/HelpTopicPluginManager.php \Drupal\help\HelpTopicPluginManager::providerExists()

Overrides DefaultPluginManager::providerExists

File

core/modules/help_topics/src/HelpTopicPluginManager.php, line 158

Class

HelpTopicPluginManager
Provides the default help_topic manager.

Namespace

Drupal\help_topics

Code

protected function providerExists($provider) {
    return $this->moduleHandler
        ->moduleExists($provider) || $this->themeHandler
        ->themeExists($provider);
}

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