protected function MiconDiscoveryManager::providerExists in Micon 8
Same name and namespace in other branches
- 2.x src/MiconDiscoveryManager.php \Drupal\micon\MiconDiscoveryManager::providerExists()
Determines if the provider of a definition exists.
Return value
bool TRUE if provider exists, FALSE otherwise.
Overrides DefaultPluginManager::providerExists
File
- src/
MiconDiscoveryManager.php, line 100
Class
- MiconDiscoveryManager
- Provides the default micon.icon manager.
Namespace
Drupal\miconCode
protected function providerExists($provider) {
return $this->moduleHandler
->moduleExists($provider) || $this->themeHandler
->themeExists($provider);
}