function ComponentPluginManager::providerExists

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Theme/ComponentPluginManager.php \Drupal\Core\Theme\ComponentPluginManager::providerExists()
Same name in other branches
  1. 10 core/modules/sdc/src/ComponentPluginManager.php \Drupal\sdc\ComponentPluginManager::providerExists()
  2. 10 core/lib/Drupal/Core/Theme/ComponentPluginManager.php \Drupal\Core\Theme\ComponentPluginManager::providerExists()

Overrides DefaultPluginManager::providerExists

File

core/modules/sdc/src/ComponentPluginManager.php, line 238

Class

ComponentPluginManager
Defines a plugin manager to deal with sdc.

Namespace

Drupal\sdc

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.