function LayoutPluginManager::providerExists

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::providerExists()
  2. 10 core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::providerExists()
  3. 11.x core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::providerExists()

Overrides DefaultPluginManager::providerExists

File

core/lib/Drupal/Core/Layout/LayoutPluginManager.php, line 64

Class

LayoutPluginManager
Provides a plugin manager for layouts.

Namespace

Drupal\Core\Layout

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.