You are here

function skinr_skinr_config in Skinr 6.2

Implementation of hook_skinr_config().

Related topics

File

modules/skinr.skinr.inc, line 16
Provide skinr handling for page level rules.

Code

function skinr_skinr_config() {
  $data['page']['form']['skinr_rule_edit'] = array(
    'index_handler' => 'page_skinr_form_index_handler',
    'preprocess_hook' => 'page',
    'title' => t('page rule settings'),
    'skinr_weight' => 0,
    'collapsed' => FALSE,
  );
  $data['page']['form']['skinr_ui_form'] = array(
    'index_handler' => 'skinr_ajax_index_handler',
    'preprocess_hook' => 'page',
    'title' => t('page rule settings'),
    'collapsed' => FALSE,
  );
  $data['page']['preprocess']['page'] = array(
    'index_handler' => 'page_skinr_preprocess_index_handler',
  );
  return $data;
}