function date_repeat_field_field_info_alter in Date 7.3
Same name and namespace in other branches
- 8 date_repeat_field/date_repeat_field.module \date_repeat_field_field_info_alter()
- 7.2 date_repeat_field/date_repeat_field.module \date_repeat_field_field_info_alter()
Implements hook_field_info_alter().
File
- date_repeat_field/
date_repeat_field.module, line 579 - Creates the option of Repeating Date fields and manages Date Repeat fields.
Code
function date_repeat_field_field_info_alter(&$info) {
// This Field API hook lets us add a new setting to the fields.
$info['date']['settings'] += array(
'repeat' => 0,
);
$info['datetime']['settings'] += array(
'repeat' => 0,
);
$info['datestamp']['settings'] += array(
'repeat' => 0,
);
}