You are here

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

Same name and namespace in other branches
  1. 6.2 crumbs.plugin_engine.inc \crumbs_RuleWeightKeeper::__construct()

File

lib/RuleWeightKeeper.php, line 11

Class

crumbs_RuleWeightKeeper

Code

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