protected 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()
Parameters
string|NULL $key:
1 call to crumbs_InjectedAPI_hookCrumbsPlugins::_disabledByDefault()
- crumbs_InjectedAPI_hookCrumbsPlugins::disabledByDefault in lib/
InjectedAPI/ hookCrumbsPlugins.php - Set specific rules as disabled by default.
File
- lib/
InjectedAPI/ hookCrumbsPlugins.php, line 356
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
protected function _disabledByDefault($key) {
$key = isset($key) ? $this->module . '.' . $key : $this->module;
$this->defaultValueCollection
->setDefaultValue($key, FALSE);
}