function hook_site_verify_engine_info in Site verification 7
Same name and namespace in other branches
- 6 site_verify.api.php \hook_site_verify_engine_info()
- 7.2 site_verify.api.php \hook_site_verify_engine_info()
Define supported search engines.
1 function implements hook_site_verify_engine_info()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- site_verify_site_verify_engine_info in ./
site_verify.module - Implements hook_site_verify_engine_info().
1 invocation of hook_site_verify_engine_info()
- site_verify_get_engines in ./
site_verify.module - Fetch an array of supported search engines.
File
- ./
site_verify.api.php, line 16 - Hooks provided by the site_verify module.
Code
function hook_site_verify_engine_info() {
$engines['myengine'] = array(
// Note that the key is limited to 32 characters.
'name' => t('My search engine'),
'page' => TRUE,
'page_example' => 'myengine.html',
'page_validate' => 'myengine_validate_page',
'page_contents' => FALSE,
'page_contents_validate' => FALSE,
'meta' => TRUE,
'meta_validate' => 'myengine_validate_meta',
);
return $engines;
}