You are here

function crumbs_PluginOperation_decorateBreadcrumb::invoke in Crumbs, the Breadcrumbs suite 7

Overrides crumbs_PluginOperationInterface_alter::invoke

File

lib/PluginOperation/decorateBreadcrumb.php, line 12

Class

crumbs_PluginOperation_decorateBreadcrumb

Code

function invoke($plugin, $plugin_key) {
  if (method_exists($plugin, 'decorateBreadcrumb')) {
    $plugin
      ->decorateBreadcrumb($this->breadcrumb);
  }
}