You are here

function ds_extras_theme in Display Suite 7

Implements hook_theme().

File

modules/ds_extras/ds_extras.module, line 104
Display Suite extras main functions.

Code

function ds_extras_theme() {
  $theme_functions = array();
  $field_functions = module_invoke_all('ds_field_theme_functions_info');
  foreach ($field_functions as $key => $label) {
    $theme_functions[$key] = array(
      'render element' => 'element',
      'function' => $key,
    );
  }
  return $theme_functions;
}