Task/ReportHookData.php
function listHookNamesOptions() {
    $data = $this->getHookDeclarations();

    $return = array();
    foreach ($data as $hook_name => $hook_info) {
      $return[$hook_name] = $hook_info['description'];
    }

    return $return;
  }
function listHookNamesOptions() {
    $data = $this->getHookDeclarations();

    $return = array();
    foreach ($data as $hook_name => $hook_info) {
      $return[$hook_name] = $hook_info['description'];
    }

    return $return;
  }
function listHookNamesOptions ( ) { $ data = $ this -> getHookDeclarations ( ) ; $ return = array ( ) ; foreach ( $ data as $ hook_name => $ hook_info ) { $ return [ $ hook_name ] = $ hook_info [ 'description' ] ; } return $ return ; }
Get hooks as a list of options.

@return
An array of hooks as options suitable for FormAPI, where each key is a
full hook name, and each value is a description.
Get hooks as a list of options .