You are here

function finder_plugin_hooks in Finder 7.2

Adds plugin hook definitions.

3 calls to finder_plugin_hooks()
finder_menu in ./finder.module
Implements hook_menu().
finder_permission in ./finder.module
Implements hook_permission().
finder_theme in ./finder.module
Implements hook_theme().

File

./finder.module, line 478
The finder module.

Code

function finder_plugin_hooks($hook, &$items) {
  $element_handlers = finder_element_handlers();
  foreach ($element_handlers as $element_handler) {
    if (isset($element_handler[$hook])) {
      $items = array_merge($items, $element_handler[$hook]);
    }
  }
}