You are here

function availability_calendars_get_styles in Availability Calendars 6.2

Same name and namespace in other branches
  1. 7.2 availability_calendars.styles.inc \availability_calendars_get_styles()

Returns the CSS styles defined for the calendars.

Return value

array list of defined styles.

2 calls to availability_calendars_get_styles()
availability_calendars_styles in ./availability_calendars.styles.inc
Callback to retrieve a form for the admin/settings/availability-calendars/styles page.
availability_calendars_styles_generate in ./availability_calendars.styles.inc
Callback to process form submission for the styles form.

File

./availability_calendars.styles.inc, line 80

Code

function availability_calendars_get_styles() {
  $styles = variable_get('availability_calendars_styles', array());
  $styles['generate'] = variable_get('availability_calendars_styles_generate', 1);
  return $styles;
}