protected function LayoutPluginManager::providerExists in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/LayoutPluginManager.php \Drupal\Core\Layout\LayoutPluginManager::providerExists()
Determines if the provider of a definition exists.
Return value
bool TRUE if provider exists, FALSE otherwise.
Overrides DefaultPluginManager::providerExists
File
- core/
lib/ Drupal/ Core/ Layout/ LayoutPluginManager.php, line 64
Class
- LayoutPluginManager
- Provides a plugin manager for layouts.
Namespace
Drupal\Core\LayoutCode
protected function providerExists($provider) {
return $this->moduleHandler
->moduleExists($provider) || $this->themeHandler
->themeExists($provider);
}