You are here

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

Parameters

string $module:

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

string $pluginKey:

Return value

callable|false

File

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

Class

crumbs_InjectedAPI_Collection_CallbackCollection

Code

function getCallbackOrFalse($module, $callbackType, $pluginKey) {
  return isset($this->callbacks[$module][$callbackType][$pluginKey]) ? $this->callbacks[$module][$callbackType][$pluginKey] : FALSE;
}