function _crumbs_get_available_rule_lines in Crumbs, the Breadcrumbs suite 6
2 calls to _crumbs_get_available_rule_lines()
File
- ./
crumbs.admin.inc, line 61
Code
function _crumbs_get_available_rule_lines($x) {
$lines = array();
foreach ($x->rules as $rule_key) {
$lines[$rule_key] = $rule_key;
}
foreach ($x->wildcard_rules as $order_key => $rules) {
$lines[$order_key] = "{$order_key} (wildcard)";
}
foreach ($x->titles as $rule_key => $title) {
$lines[$rule_key] = "{$rule_key} ({$title})";
}
return $lines;
}