You are here

function calendar_errors in Calendar 6.2

Same name and namespace in other branches
  1. 7 calendar.module \calendar_errors()
  2. 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.

... See full list

File

./calendar.module, line 438
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'.");
  }
}