function crumbs_CallbackRestoration::__construct in Crumbs, the Breadcrumbs suite 7.2
Constructor
File
- lib/
CallbackRestoration.php, line 33
Class
- crumbs_CallbackRestoration
- Can recover anonymous functions registered with hook_crumbs_plugins() via e.g. $api->routeParentCallback() or $api->entityParentCallback()
Code
function __construct() {
$this->callbackCollection = new crumbs_InjectedAPI_Collection_CallbackCollection();
$this->api = new crumbs_InjectedAPI_hookCrumbsPlugins(new crumbs_InjectedAPI_Collection_PluginCollection(), new crumbs_InjectedAPI_Collection_EntityPluginCollection(), $this->callbackCollection, new crumbs_InjectedAPI_Collection_DefaultValueCollection());
}