You are here

function rules_admin_settings_advanced in Rules 7.2

Advanced settings form.

1 string reference to 'rules_admin_settings_advanced'
rules_admin_menu in rules_admin/rules_admin.module
Implements hook_menu().

File

rules_admin/rules_admin.inc, line 245
Implements rule management and configuration screens.

Code

function rules_admin_settings_advanced($form, &$form_state) {
  $form['integrity'] = array(
    '#type' => 'fieldset',
    '#title' => t('Integrity'),
    '#description' => t('Rules checks the integrity of your configurations to discover and exclude broken configurations from evaluation.'),
  );
  $form['integrity']['start_integrity_check'] = array(
    '#type' => 'submit',
    '#value' => t('Recheck integrity'),
    '#submit' => array(
      'rules_admin_settings_integrity_check_submit',
    ),
  );
  $form['cache'] = array(
    '#type' => 'fieldset',
    '#title' => t('Cache'),
    '#description' => t('Rules caches information about available actions, conditions and data types. Additionally all components and reaction rules are cached for efficient evaluation.'),
  );
  $form['cache']['rebuild_rules_cache'] = array(
    '#type' => 'submit',
    '#value' => t("Rebuild Rules' cache"),
    '#weight' => 2,
    '#submit' => array(
      'rules_admin_settings_cache_rebuild_submit',
    ),
  );
  return $form;
}