You are here

protected function DefaultPluginManager::providerExists in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/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 core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
Finds plugin definitions.
1 method overrides DefaultPluginManager::providerExists()
BreakpointManager::providerExists in core/modules/breakpoint/src/BreakpointManager.php
Determines if the provider of a definition exists.

File

core/lib/Drupal/Core/Plugin/DefaultPluginManager.php, line 306
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);
}