You are here

function crumbs_PluginEngine::invokeAll_alter in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 6.2 crumbs.plugin_engine.inc \crumbs_PluginEngine::invokeAll_alter()

invokeAll for alter hooks. These need to be called with the lowest priority first, because later calls will overwrite earlier calls.

File

lib/PluginEngine.php, line 66

Class

crumbs_PluginEngine

Code

function invokeAll_alter(crumbs_PluginOperationInterface_alter $plugin_operation) {
  foreach ($this->pluginOrder_alter as $plugin_key => $plugin) {
    $plugin_operation
      ->invoke($plugin, $plugin_key);
  }
}