function addtocalendar_preprocess_field in Add To Calendar Button (AddEvent.com) 8.2
Same name and namespace in other branches
- 8 addtocalendar.module \addtocalendar_preprocess_field()
- 8.3 addtocalendar.module \addtocalendar_preprocess_field()
- 7.2 addtocalendar.module \addtocalendar_preprocess_field()
- 7 addtocalendar.module \addtocalendar_preprocess_field()
Implements hook_preprocess_field().
File
- ./
addtocalendar.module, line 50 - Contains module code.
Code
function addtocalendar_preprocess_field(&$variables) {
if ($variables['field_type'] == 'datetime' || $variables['field_type'] == 'daterange') {
_addtocalendar_preprocess_field($variables);
}
}