protected function PluginManager::alterDefinitions in Express 8
Invokes the hook to alter the definitions if the alter hook is set.
Parameters
$definitions: The discovered plugin definitions.
Overrides DefaultPluginManager::alterDefinitions
File
- themes/
contrib/ bootstrap/ src/ Plugin/ PluginManager.php, line 75 - Contains \Drupal\bootstrap\Plugin\PluginManager.
Class
- PluginManager
- Base class for Bootstrap plugin managers.
Namespace
Drupal\bootstrap\PluginCode
protected function alterDefinitions(&$definitions) {
if ($this->alterHook) {
$this->themeManager
->alter($this->alterHook, $definitions);
}
}