'example_skinr_index_handler', 'preprocess_hook' => 'block', 'title' => t('Skinr settings'), 'description' => t('Here you can manage which Skinr styles, if any, you want to apply.'), 'weight' => 1, 'collapsed' => TRUE, 'selector_weight' => 0, 'selector_title' => t('Choose Skinr Style(s)'), ); $data['example']['form']['block_add_block_form'] = array( 'index_handler' => 'example_skinr_index_handler', 'title' => t('Skinr settings'), 'description' => t('Here you can manage which Skinr styles, if any, you want to apply to this block.'), 'weight' => -10, 'collapsed' => FALSE, ); $data['example']['preprocess']['block'] = array( 'index_handler' => 'block_skinr_preprocess_handler_block', ); return $data; } /** * Register Skinr API information. This is required for your module to have * its include files loaded. * * The full documentation for this hook is in the advanced help. */ function hook_skinr_api() { return array( 'api' => 1, 'path' => drupal_get_path('module', 'modulename'), ); } /** * @} */