You are here

function themekey_rule_chain_form in ThemeKey 7.3

Same name and namespace in other branches
  1. 6.4 themekey_admin.inc \themekey_rule_chain_form()
  2. 6.2 themekey_admin.inc \themekey_rule_chain_form()
  3. 6.3 themekey_admin.inc \themekey_rule_chain_form()
  4. 7 themekey_admin.inc \themekey_rule_chain_form()
  5. 7.2 themekey_admin.inc \themekey_rule_chain_form()

Form builder for the rule chain.

The form will not be validated. All changes will be saved immediately. Validation will happen when the form displays the stored configuration. Otherwise all the drag'n'drop stuff will not work.

See also

themekey_form_alter()

themekey_rule_chain_form_submit()

themekey_rule_chain_form_set_error()

1 string reference to 'themekey_rule_chain_form'
themekey_menu in ./themekey.module
Implements hook_menu().

File

./themekey_admin.inc, line 31

Code

function themekey_rule_chain_form($form, &$form_state) {
  return themekey_abstract_rule_chain_form($form, $form_state, array(
    'load_rules_callback' => 'themekey_load_rules',
    'themes' => themekey_theme_options(TRUE, TRUE),
    'rule_delete_path' => 'admin/config/user-interface/themekey/rules/delete/',
  ));
}