You are here

function crumbs_InjectedAPI_hookCrumbsPlugins::setModule in Crumbs, the Breadcrumbs suite 7.2

Same name and namespace in other branches
  1. 7 lib/InjectedAPI/hookCrumbsPlugins.php \crumbs_InjectedAPI_hookCrumbsPlugins::setModule()

This is typically called before each invocation of hook_crumbs_plugins(), to let the object know about the module implementing the hook. Modules can call this directly if they want to let other modules talk to the API object.

Parameters

string $module: The module name.

File

lib/InjectedAPI/hookCrumbsPlugins.php, line 63

Class

crumbs_InjectedAPI_hookCrumbsPlugins
API object to be used as an argument for hook_crumbs_plugins() This is a sandbox class, currently not used..

Code

function setModule($module) {
  $this->module = $module;
}