function context_ui_theme in Context 6.2
Same name and namespace in other branches
- 6.3 context_ui/context_ui.module \context_ui_theme()
- 6 context_ui/context_ui.module \context_ui_theme()
- 7.3 context_ui/context_ui.module \context_ui_theme()
Implementation of hook_theme().
File
- context_ui/
context_ui.module, line 6
Code
function context_ui_theme() {
// This is required so that the preprocess function within gets registered:
module_load_include('inc', 'context_ui', 'context_ui.admin');
// Minor code reduction technique.
$base = array(
'arguments' => array(
'form' => array(),
),
'file' => 'context_ui.admin.inc',
);
$items['context_ui_export_form'] = $base;
$items['context_ui_item_display'] = $base;
$items['context_ui_form'] = $base;
$items['context_ui_block_ui'] = $base;
$items['context_ui_bulk_export_table'] = $base;
// List contexts (admin landing page).
$items['context_ui_list_contexts'] = array(
'template' => 'context_ui-list-contexts',
'path' => drupal_get_path('module', 'context_ui'),
);
$items['context_devel'] = array(
'arguments' => array(
'form' => array(),
),
);
$items['context_devel_recurse'] = array(
'arguments' => array(
'form' => array(),
),
);
return $items;
}