function BreakpointManager::providerExists
Determines if the provider of a definition exists.
Return value
bool TRUE if provider exists, FALSE otherwise.
Overrides DefaultPluginManager::providerExists
File
-
core/
modules/ breakpoint/ src/ BreakpointManager.php, line 151
Class
- BreakpointManager
- Defines a breakpoint plugin manager to deal with breakpoints.
Namespace
Drupal\breakpointCode
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.