You are here

protected function crumbs_PluginOperation_findParent::_invoke in Crumbs, the Breadcrumbs suite 7

Overrides crumbs_PluginOperation_findForPath::_invoke

File

lib/PluginOperation/findParent.php, line 8

Class

crumbs_PluginOperation_findParent

Code

protected function _invoke($plugin, $method) {
  $result = $plugin
    ->{$method}($this->path, $this->item);
  return $result;
}