You are here

function fences_get_fences_options in Fences 7

Same name and namespace in other branches
  1. 7.2 fences.module \fences_get_fences_options()

Returns a ready-made options list of fences suggestions for a given theme hook.

Parameters

$theme_hook: A string containing the theme hook.

Return value

An array that can be used by a #options attribute of a form.

1 call to fences_get_fences_options()
_fences_form_field_ui_field_edit_form_alter in ./fences.admin.inc
Implements hook_form_FORM_ID_alter().

File

./fences.module, line 115
Fences is a module providing configurable field wrappers.

Code

function fences_get_fences_options($theme_hook) {
  module_load_include('inc', 'fences', 'fences.admin');
  return _fences_get_fences_options($theme_hook);
}