function hook_ds_field_theme_functions_info in Display Suite 7
Same name and namespace in other branches
- 7.2 ds.api.php \hook_ds_field_theme_functions_info()
Define theme functions for fields.
This only is necessary when you're using the field settings plugin which comes with the DS extras module and you want to expose a special field theming function to the interface.
The theme function gets $variables as the only parameter. The optional configuration through the UI is in $variables['ds-config'].
Note that 'theme_ds_field_' is always needed, so the suggestions can work.
Return value
$field_theme_functions A collection of field theming functions.
2 functions implement hook_ds_field_theme_functions_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- ds_extras_ds_field_theme_functions_info in modules/
ds_extras/ ds_extras.module - Implements hook_ds_field_theme_functions_info().
- ds_test_ds_field_theme_functions_info in tests/
ds_test.module - Implements hook_ds_field_theme_functions_info().
4 invocations of hook_ds_field_theme_functions_info()
- ds_extras_field_ui_alter in modules/
ds_extras/ ds_extras.admin.inc - Alter Manage display screen.
- ds_extras_form_field_ui_field_edit_form_alter in modules/
ds_extras/ ds_extras.module - Implements hook_form_FORM_ID_alter().
- ds_extras_settings in modules/
ds_extras/ ds_extras.admin.inc - Menu callback: Display Suite extras settings.
- ds_extras_theme in modules/
ds_extras/ ds_extras.module - Implements hook_theme().
File
- ./
ds.api.php, line 317 - Hooks provided by Display Suite module.
Code
function hook_ds_field_theme_functions_info() {
return array(
'theme_ds_field_mine' => t('Theme field'),
);
}