function date_repeat_field_field_formatter_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_formatter_info_alter()
- 7.2 date_repeat_field/date_repeat_field.module \date_repeat_field_field_formatter_info_alter()
Implements hook_field_formatter_info_alter().
File
- date_repeat_field/
date_repeat_field.module, line 595 - Creates the option of Repeating Date fields and manages Date Repeat fields.
Code
function date_repeat_field_field_formatter_info_alter(&$info) {
// This hook lets us add settings to the formatters.
if (isset($info['date_default'])) {
$info['date_default']['settings'] += array(
'show_repeat_rule' => 'show',
);
}
}