You are here

function crumbs_InjectedAPI_hookCrumbsPlugins::disabledByDefault in Crumbs, the Breadcrumbs suite 7

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

Set specific rules as disabled by default.

Parameters

$keys: Array of keys, relative to the module name, OR a single string key, relative to the module name.

File

lib/InjectedAPI/hookCrumbsPlugins.php, line 129

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 disabledByDefault($keys = NULL) {
  if (is_array($keys)) {
    foreach ($keys as $key) {
      $this
        ->_disabledByDefault($key);
    }
  }
  else {
    $this
      ->_disabledByDefault($keys);
  }
}