You are here

protected function crumbs_PluginSystem_PluginInfo::get_weightMap in Crumbs, the Breadcrumbs suite 7.2

Object that can calculate rule weights based on the weight settings. (which are often wildcards)

Return value

crumbs_Container_WeightMap

See also

crumbs_PluginSystem_PluginInfo::$weightMap

File

lib/PluginSystem/PluginInfo.php, line 92

Class

crumbs_PluginSystem_PluginInfo
Info about available plugins and their weights.

Code

protected function get_weightMap() {
  return new crumbs_Container_WeightMap($this->weights);
}