function sliderfield_theme in SliderField 7.2
Implements hook_theme().
The only theme implementation is by the element example. To keep the various parts of the example together, this actually returns _form_example_element_theme().
File
- ./
sliderfield.module, line 24
Code
function sliderfield_theme($existing, $type, $theme, $path) {
require_once 'sliderfield_element_sliderfield.inc';
$data1 = _sliderfield_theme_sliderfield($existing, $type, $theme, $path);
require_once 'sliderfield_element_transfer_slider.inc';
$data2 = _sliderfield_theme_transfer_slider($existing, $type, $theme, $path);
$data = array_merge($data1, $data2);
$data['sliderfield_webform_element'] = array(
'render element' => 'element',
);
return $data;
}