You are here

function crumbs_EntityPlugin_Callback::__construct in Crumbs, the Breadcrumbs suite 7.2

Parameters

callable $callback:

string $module:

string $key:

string $callback_type: Either 'entityParent' or 'entityTitle'.

File

lib/EntityPlugin/Callback.php, line 33

Class

crumbs_EntityPlugin_Callback

Code

function __construct($callback, $module, $key, $callback_type) {
  $this->callback = $callback;
  $this->module = $module;
  $this->key = $key;
  $this->callbackType = $callback_type;
}