Bento box search with multiple targets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

12 years ago
<?php
/**
* @file
* Implementation of Roblib search for searching several targets.
*/
/**
* Implements hook_theme().
*/
function roblib_search_theme($existing, $type, $theme, $path) {
return [
'roblib_search_results' => [
'variables' => ['query' => NULL],
],
];
}
/**
* Implements hook_init().
*/
/*function roblib_search_init() {
drupal_add_js(drupal_get_path('module', 'roblib_search') . '/js/imagesloaded.pkg.min.js');
drupal_add_js(drupal_get_path('module', 'roblib_search') . '/js/roblib_search.js');
drupal_add_css(drupal_get_path('module', 'roblib_search') . '/css/jquery.qtip.min.css');
}*/
12 years ago
/**
* Implements hook_help().
*/
function roblib_search_help($path, $arg) {
switch ($path) {
case 'admin/help#roblib_search':
return t(
'<p>
The Roblib Search is a module to allow searching across multiple targets.
This module does not know how to retrieve results but fires hooks that other
modules can implement to gather and display results.
</p>'
12 years ago
);
}
}