function addtocalendar_field_formatter_info_alter in Add To Calendar Button (AddEvent.com) 7
Same name and namespace in other branches
- 7.2 addtocalendar.module \addtocalendar_field_formatter_info_alter()
Implements hook_field_formatter_info_alter().
File
- ./
addtocalendar.module, line 21
Code
function addtocalendar_field_formatter_info_alter(&$info) {
// Add a setting to a formatter type.
if (isset($info['date_default'])) {
$info['date_default']['settings'] += array(
'addtocalendar_show' => '',
'addtocalendar_settings' => '',
);
}
}