You are here

function rules_admin_theme in Rules 6

Implementation of hook_theme()

File

rules_admin/rules_admin.module, line 302
Rules administration UI

Code

function rules_admin_theme() {
  foreach (array(
    'rules_admin_rule_render',
    'rule',
    'condition',
    'action',
    'rules_icon',
    'rules_operation',
    'OR',
    'AND',
    'rules_logical_operation_label',
  ) as $name) {
    $items[$name] = array(
      'arguments' => array(
        'elements' => NULL,
      ),
      'file' => 'rules_admin.render.inc',
    );
  }
  $items['rules_admin_form_arguments'] = array(
    'arguments' => array(
      'elements' => NULL,
    ),
    'file' => 'rules_admin.sets.inc',
  );
  $items['rules_admin_unsatisfied_elements'] = array(
    'arguments' => array(
      'element' => NULL,
    ),
    'file' => 'rules_admin.inc',
  );
  $items['rules_admin_unsatisfied_elements_group'] = array(
    'arguments' => array(
      'grouped_rules' => NULL,
      'elements' => array(),
    ),
    'file' => 'rules_admin.inc',
  );
  $items['rules_admin_unsatisfied_elements_group'] = array(
    'arguments' => array(
      'grouped_rules' => NULL,
      'elements' => array(),
    ),
    'file' => 'rules_admin.inc',
  );
  $items['rules_admin_configuration_status'] = array(
    'arguments' => array(
      'status' => NULL,
    ),
    'file' => 'rules_admin.inc',
  );
  return $items;
}