function site_verify_site_verify_engine_info in Site verification 6
Same name and namespace in other branches
- 8 site_verify.module \site_verify_site_verify_engine_info()
- 7.2 site_verify.module \site_verify_site_verify_engine_info()
- 7 site_verify.module \site_verify_site_verify_engine_info()
Implements hook_site_verify_engine_info().
File
- ./
site_verify.module, line 111
Code
function site_verify_site_verify_engine_info() {
$engines['google'] = array(
'name' => t('Google'),
'file' => TRUE,
'file_contents' => TRUE,
'file_example' => 'google1234567890abcdef.html',
'meta' => TRUE,
'meta_example' => '<meta name="google-site-verification" content="NbwaW3WIDp_SPsSsfl78Ive7F34-znm9lxLJXjuWNGE" />',
);
$engines['yahoo'] = array(
'name' => t('Yahoo!'),
'file' => TRUE,
'file_contents' => TRUE,
'meta' => TRUE,
);
$engines['bing'] = array(
'name' => t('Bing'),
'file' => TRUE,
'file_contents' => TRUE,
'meta' => TRUE,
);
$engines['yandex'] = array(
'name' => t('Yandex'),
'file' => TRUE,
'file_example' => 'yandex_b5741169901f6c20.txt',
'meta' => TRUE,
'meta_example' => '<meta name="yandex-verification" content="b5741169901f6c20" />',
);
$engines['custom'] = array(
'name' => t('Custom verification'),
'file' => TRUE,
'file_contents' => TRUE,
'meta' => TRUE,
);
return $engines;
}