function interval_element_info in Interval Field 7
Implements hook_element_info().
File
- ./
interval.module, line 263 - Defines an interval field @copyright Copyright(c) 2011 Rowlands Group @license GPL v2+ http://www.fsf.org/licensing/licenses/gpl.html @author Lee Rowlands leerowlands at rowlandsgroup dot com
Code
function interval_element_info() {
$types = array();
$types['interval'] = array(
'#input' => TRUE,
'#process' => array(
'interval_element_process',
),
'#theme' => 'interval',
'#theme_wrappers' => array(
'form_element',
),
);
return $types;
}