function rules_item_load in Rules 6
File
- rules_admin/
rules_admin.module, line 280 - Rules administration UI
Code
function rules_item_load($name, $item_type) {
$items = rules_get_configured_items($item_type);
if (!isset($items[$name])) {
return FALSE;
}
return $items[$name] + array(
'name' => $name,
);
}