getModule('roblib_search') ->getPath(); $spinner_path = '/' . $modulePath . "/img/spinner.gif"; return [ 'roblib_search_eds_books' => [ 'variables' => ['query' => NULL, 'spinner_path' => $spinner_path], ], 'roblib_search_eds_articles' => [ 'variables' => ['query' => NULL, 'spinner_path' => $spinner_path], ], ]; } /** * Implements hook_help(). * * @param type $path * @param type $arg * @return type */ function roblib_search_eds_help($path, $arg) { switch ($path) { case 'admin/help#roblib_search_eds': return t( '

provides a EDSAPI target for the Roblib search module. This target uses javascript to render the results.

' ); } }