You are here

function availability_calendar_get_styles in Availability Calendars 7.5

Same name and namespace in other branches
  1. 7.3 availability_calendar.styles.inc \availability_calendar_get_styles()
  2. 7.4 availability_calendar.styles.inc \availability_calendar_get_styles()

Returns the CSS styles defined for the calendars.

Return value

array List of defined styles.

2 calls to availability_calendar_get_styles()
availability_calendar_styles in ./availability_calendar.styles.inc
Define form callback for the admin/config/availability-calendar/styles page.
availability_calendar_styles_generate in ./availability_calendar.styles.inc
Callback to process form submission for the styles form.

File

./availability_calendar.styles.inc, line 85

Code

function availability_calendar_get_styles() {
  $styles = variable_get('availability_calendar_styles', array());
  $styles['generate'] = variable_get('availability_calendar_styles_generate', 1);
  return $styles;
}