You are here

function finder_element_handlers in Finder 7

Same name and namespace in other branches
  1. 6 finder.module \finder_element_handlers()
  2. 7.2 finder.module \finder_element_handlers()

Get a list of possible element types.

Return value

An array of element handlers from hook implementations.

See also

hook_finder_element_handlers()

2 calls to finder_element_handlers()
finder_admin_get_element_options in includes/finder.admin.inc
Get element handlers and convert to options array.
finder_load_element_handler in ./finder.module
Attach element handler data to the finder.

File

./finder.module, line 1121
The finder module.

Code

function finder_element_handlers() {
  static $element_handlers;
  if (empty($element_handlers)) {
    $element_handlers = module_invoke_all('finder_element_handlers');
  }
  return $element_handlers;
}