You are here

function crumbs_InjectedAPI_Collection_CallbackCollection::addCallback in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $module:

string $callbackType: One of 'routeParent', 'routeTitle', 'entityParent' and 'entityTitle'.

string $pluginKey:

callback $callback:

File

lib/InjectedAPI/Collection/CallbackCollection.php, line 36

Class

crumbs_InjectedAPI_Collection_CallbackCollection

Code

function addCallback($module, $callbackType, $pluginKey, $callback) {
  $this->callbacks[$module][$callbackType][$pluginKey] = $callback;
}