You are here

function skinr_ui_element_options in Skinr 7.2

Return an array of element options for a module.

If no field type is provided, returns a nested array of all element options, keyed by module.

1 call to skinr_ui_element_options()
skinr_ui_add in ./skinr_ui.admin.inc
Form builder for the add a Skinr configuration form.
1 string reference to 'skinr_ui_element_options'
skinr_ui_hook_info in ./skinr_ui.module
Implements hook_hook_info().

File

./skinr_ui.admin.inc, line 1117
Admin page callbacks for the Skinr UI module.

Code

function skinr_ui_element_options($module = NULL) {
  $cache =& drupal_static(__FUNCTION__);
  if (!isset($cache)) {
    $cache = skinr_invoke_all('skinr_ui_element_options');
  }
  return $cache;
}