You are here

protected function DefaultPluginManager::providerExists in Plug 7

Determines if the provider of a definition exists.

Return value

boolean TRUE if provider exists, FALSE otherwise.

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

File

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

Class

DefaultPluginManager
Base class for plugin managers.

Namespace

Drupal\Core\Plugin

Code

protected function providerExists($provider) {
  return module_exists($provider);
}