function theme_date_all_day_label in Date 8
Same name and namespace in other branches
- 5.2 date/date.theme \theme_date_all_day_label()
- 6.2 date/date.theme \theme_date_all_day_label()
- 7.3 date_all_day/date_all_day.module \theme_date_all_day_label()
- 7 date.theme \theme_date_all_day_label()
- 7.2 date_all_day/date_all_day.module \theme_date_all_day_label()
Theme the way an 'all day' label will look.
3 theme calls to theme_date_all_day_label()
- date_all_day_date_formatter_dates_alter in date_all_day/
date_all_day.module - Implements hook_date_formatter_dates_alter().
- hook_date_formatter_dates_alter in ./
date.api.php - Alter the dates array created by date_formatter_process().
- theme_date_all_day in date_all_day/
date_all_day.module - Adjust start/end date format to account for 'all day' .
File
- date_all_day/
date_all_day.module, line 145 - Adds All Day functionality to the Date field.
Code
function theme_date_all_day_label() {
return '(' . t('All day', array(), array(
'context' => 'datetime',
)) . ')';
}