function crumbs_PluginOperation_describe::addRule in Crumbs, the Breadcrumbs suite 7
Same name and namespace in other branches
- 7.2 lib/PluginOperation/describe.php \crumbs_PluginOperation_describe::addRule()
To be called from crumbs_InjectedAPI_describeMultiPlugin::addRule()
1 call to crumbs_PluginOperation_describe::addRule()
- crumbs_PluginOperation_describe::invoke in lib/
PluginOperation/ describe.php - To be called from _crumbs_load_available_keys()
File
- lib/
PluginOperation/ describe.php, line 47
Class
- crumbs_PluginOperation_describe
- This class uses the PluginOperation pattern, but it does not implement any of the PluginOperation interfaces. This is because it is not supposed to be used with the PluginEngine, but rather from a custom function (see above).
Code
function addRule($key_suffix, $title) {
$this
->_addRule($this->pluginKey . '.' . $key_suffix, $title);
}