You are here

function _pagerer_get_preset in Pagerer 7

Get a pagerer preset configuration.

Parameters

string $preset_name: the name of the preset to be retrieved

Return value

array the preset configuration array

8 calls to _pagerer_get_preset()
pagerer_pane_form in ./pagerer.admin.inc
Pane level settings form.
pagerer_pane_form_submit in ./pagerer.admin.inc
Pane level settings form - submission.
pagerer_pane_theme_reset_form in ./pagerer.admin.inc
Pane level settings reset form.
pagerer_pane_theme_reset_form_submit in ./pagerer.admin.inc
Pane level settings reset form - submission.
pagerer_preset_form in ./pagerer.admin.inc
Preset edit form.

... See full list

File

./pagerer.module, line 2025
Pagerer

Code

function _pagerer_get_preset($preset_name) {
  $preset = variable_get('pagerer.preset.' . $preset_name);
  return is_array($preset) ? $preset : array();
}