You are here

function crumbs_RuleWeightKeeper::__construct in Crumbs, the Breadcrumbs suite 6.2

Same name and namespace in other branches
  1. 7 lib/RuleWeightKeeper.php \crumbs_RuleWeightKeeper::__construct()

File

./crumbs.plugin_engine.inc, line 241

Class

crumbs_RuleWeightKeeper

Code

function __construct(array $rule_weights) {
  asort($rule_weights);
  $this->_rule_weights = $rule_weights;
}