function date_repeat_elements in Date 5.2
Same name and namespace in other branches
- 6.2 date_repeat/date_repeat.module \date_repeat_elements()
- 6 date_repeat/date_repeat.module \date_repeat_elements()
Implementation of hook_elements().
File
- date_repeat/
date_repeat.module, line 19 - This module creates a form element that allows users to select repeat rules for a date, and reworks the result into an iCal RRULE string that can be stored in the database.
Code
function date_repeat_elements() {
$type['date_repeat_rrule'] = array(
'#input' => TRUE,
'#process' => array(
'date_repeat_rrule_process' => array(),
),
'#validate' => array(
'date_repeat_rrule_validate' => array(),
),
);
return $type;
}