function _ds_theme in Display Suite 6.3
Same name and namespace in other branches
- 6 includes/ds.registry.inc \_ds_theme()
- 6.2 includes/ds.registry.inc \_ds_theme()
- 7.2 includes/ds.registry.inc \_ds_theme()
- 7 ds.registry.inc \_ds_theme()
Return theme functions.
1 call to _ds_theme()
- ds_theme in ./
ds.module - Implementation of hook_theme().
File
- includes/
ds.registry.inc, line 261 - Registry functions.
Code
function _ds_theme() {
$path = drupal_get_path('module', 'ds');
$theme_functions = array(
// Regions theming.
'ds_regions' => array(
'arguments' => array(
'vars' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
'ds_region' => array(
'argument' => array(
'vars' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
// General theming field.
'ds_field' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
'ds_field_inline' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
// Evaluate code.
'ds_eval_code' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
// Evaluate block.
'ds_eval_block' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
// DS objects.
'ds_objects' => array(
'arguments' => array(
'data' => array(),
'extra' => array(),
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
// We'll only use one function for the fieldsets.
'ds_group_fieldset_open' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_group_fieldset',
),
'ds_group_fieldset_collapsible' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_group_fieldset',
),
'ds_group_fieldset_collapsed' => array(
'arguments' => array(
'field' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_group_fieldset',
),
// CCK 3.x multigroup subgroup formatters
'ds_multigroup_div' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_div',
),
'ds_multigroup_fieldset_open' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_fieldset',
),
'ds_multigroup_fieldset_collapsible' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_fieldset',
),
'ds_multigroup_fieldset_collapsed' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_fieldset',
),
'ds_multigroup_table_simple' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_table_simple',
),
'ds_multigroup_table_multiple' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_table_multiple',
),
'ds_multigroup_horizontal_line' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_horizontal_line',
),
'ds_multigroup_list_ol' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_list',
),
'ds_multigroup_list_ul' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_list',
),
'ds_multigroup_comma_separated' => array(
'arguments' => array(
'group' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_multigroup_comma_separated',
),
'ds_subgroup_label' => array(
'arguments' => array(
'label' => NULL,
'class' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
'function' => 'theme_ds_subgroup_label',
),
// Theming for fields which are shared across objects (name, picture etc).
'ds_author_link' => array(
'arguments' => array(
'object' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
'ds_author_nolink' => array(
'arguments' => array(
'object' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
'ds_picture' => array(
'arguments' => array(
'object' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
),
);
// Tabs support
if (module_exists('tabs')) {
$theme_functions['ds_tabs'] = array(
'arguments' => array(
'object' => NULL,
),
'file' => 'theme.inc',
'path' => $path . '/theme',
);
}
return $theme_functions;
}