You are here

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

Same name and namespace in other branches
  1. 7 lib/PluginEngine.php \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

./crumbs.plugin_engine.inc, line 227

Class

crumbs_PluginEngine

Code

function invokeAll_alter(crumbs_InvokeActionInterface_alter $invokeAction) {
  foreach ($this->_pluginOrder_alter as $plugin_key => $plugin) {
    $invokeAction
      ->invoke($plugin, $plugin_key);
  }
}