You are here

function galleria_optionset_exists in Galleria 7

Checks whether an option set with the given name already exists.

1 string reference to 'galleria_optionset_exists'
galleria_form_optionset_add in includes/galleria.admin.inc
Form builder; Form for adding a new option set.

File

./galleria.module, line 205
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

function galleria_optionset_exists($optionset_name) {
  ctools_include('export');
  return ctools_export_crud_load('galleria_optionset', $optionset_name) !== NULL;
}