function fences_get_fences_options in Fences 7.2
Same name and namespace in other branches
- 7 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_add_config in ./
fences.admin.inc - Adds fences' configuration widgets to a form.
File
- ./
fences.module, line 123 - 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);
}