function calendar_errors in Calendar 7
Same name and namespace in other branches
- 6.2 calendar.module \calendar_errors()
- 7.2 calendar.module \calendar_errors()
Define some error messages.
6 calls to calendar_errors()
- calendar_plugin_display_attachment::validate in includes/
calendar_plugin_display_attachment.inc - Display validation.
- calendar_plugin_display_block::validate in includes/
calendar_plugin_display_block.inc - Display validation.
- calendar_plugin_display_ical::validate in calendar_ical/
calendar_plugin_display_ical.inc - Display validation.
- calendar_plugin_display_page::validate in includes/
calendar_plugin_display_page.inc - Display validation.
- calendar_plugin_style::validate in includes/
calendar_plugin_style.inc - Style validation.
File
- ./
calendar.module, line 450 - Adds calendar filtering and displays to Views.
Code
function calendar_errors($error) {
switch ($error) {
case 'missing_argument_default':
return t("The Date argument in this view must be set up to provide a default value set to the current date. Edit the argument, find 'Action to take if argument is not present.', choose 'Provide default argument', then select 'Current date'.");
}
}