function crumbs_PluginOperation_describe::setDefaultWeight in Crumbs, the Breadcrumbs suite 7.2
Parameters
string $key:
int $weight:
File
- lib/
PluginOperation/ describe.php, line 161
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 setDefaultWeight($key, $weight) {
$this->keys[$key] = $key;
}