function finder_ui_get_element_options in Finder 7.2
Get element handlers and convert to options array.
1 call to finder_ui_get_element_options()
- finder_ui_element_form in modules/
finder_ui/ includes/ element.inc - Finder UI element form.
File
- modules/
finder_ui/ includes/ common.inc, line 187 - common.inc
Code
function finder_ui_get_element_options() {
$element_handlers = finder_element_handlers();
$element_options = array();
foreach ($element_handlers as $element_handler) {
$element_type = finder_ui_element_type($element_handler);
$element_options[$element_type][$element_handler['name']] = $element_handler['title'];
}
return $element_options;
}