function protected function PluginManager::alterDefinitions

8.x-3.x PluginManager.php protected PluginManager::alterDefinitions(&$definitions)

Class

PluginManager
Base class for Bootstrap plugin managers.

Namespace

Drupal\bootstrap\Plugin

Source src/Plugin/PluginManager.php (line 71)

protected function alterDefinitions(&$definitions) {
  if ($this->alterHook) {
    $this->themeManager->alter($this->alterHook, $definitions);
  }
}