You are here

function comment_skinr_config in Skinr 6.2

Implementation of hook_skinr_config().

Related topics

File

modules/comment.skinr.inc, line 16
Provide skinr handling for comment.module

Code

function comment_skinr_config() {
  $data['comment']['form']['node_type_form'] = array(
    'index_handler' => 'comment_skinr_form_index_handler',
    'preprocess_hook_callback' => 'comment_skinr_preprocess_hook_callback',
    'title' => t('comment settings'),
    'weight' => 1,
  );
  $data['comment']['form']['skinr_ui_form'] = array(
    'index_handler' => 'skinr_ajax_index_handler',
    'preprocess_hook_callback' => 'comment_skinr_preprocess_hook_callback',
    'title' => t('comment settings'),
    'skinr_weight' => 2,
    'collapsed' => FALSE,
  );
  $data['comment']['preprocess']['comment_wrapper'] = array(
    'index_handler' => 'comment_skinr_preprocess_index_handler',
  );
  return $data;
}