getPath('roblib_search'); $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(). */ function roblib_search_eds_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.roblib_search_eds': return t( '

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

' ); } }