You are here

protected function DefaultPluginManager::providerExists in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::providerExists()

Determines if the provider of a definition exists.

Return value

bool TRUE if provider exists, FALSE otherwise.

1 call to DefaultPluginManager::providerExists()
DefaultPluginManager::findDefinitions in lib/Drupal/Component/Plugin/DefaultPluginManager.php
Finds plugin definitions.

File

lib/Drupal/Component/Plugin/DefaultPluginManager.php, line 342
Contains \Drupal\Core\Plugin\DefaultPluginManager.

Class

DefaultPluginManager
Base class for plugin managers.

Namespace

Drupal\Core\Plugin

Code

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