You are here

class crumbs_PluginOperation_decorateBreadcrumb in Crumbs, the Breadcrumbs suite 7

Hierarchy

Expanded class hierarchy of crumbs_PluginOperation_decorateBreadcrumb

File

lib/PluginOperation/decorateBreadcrumb.php, line 4

View source
class crumbs_PluginOperation_decorateBreadcrumb implements crumbs_PluginOperationInterface_alter {
  protected $breadcrumb;
  function __construct(array &$breadcrumb) {
    $this->breadcrumb =& $breadcrumb;
  }
  function invoke($plugin, $plugin_key) {
    if (method_exists($plugin, 'decorateBreadcrumb')) {
      $plugin
        ->decorateBreadcrumb($this->breadcrumb);
    }
  }

}

Members