function theme_date_all_day_label in Date 7
Same name and namespace in other branches
- 8 date_all_day/date_all_day.module \theme_date_all_day_label()
- 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.2 date_all_day/date_all_day.module \theme_date_all_day_label()
Theme the way an 'all day' label will look.
2 theme calls to theme_date_all_day_label()
- date_formatter_process in ./
date.module - Helper function for creating formatted date arrays from a formatter.
- theme_date_all_day in ./
date.theme - Adjust from/to date format to account for 'all day' .
File
- ./
date.theme, line 276 - Theme functions.
Code
function theme_date_all_day_label() {
return '(' . t('All day', array(), array(
'context' => 'datetime',
)) . ')';
}