function crumbs_InjectedAPI_hookCrumbsPlugins::disabledByDefault in Crumbs, the Breadcrumbs suite 7.2
Same name and namespace in other branches
- 7 lib/InjectedAPI/hookCrumbsPlugins.php \crumbs_InjectedAPI_hookCrumbsPlugins::disabledByDefault()
Set specific rules as disabled by default.
Parameters
array|string $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 342
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);
}
}