function site_verify_engine_load in Site verification 7.2
Same name and namespace in other branches
- 6 site_verify.module \site_verify_engine_load()
- 7 site_verify.module \site_verify_engine_load()
Menu load callback; loads engine details.
Parameters
$engine: A string with the engine shortname.
Return value
An arary of the engine details, or FALSE if not found.
2 calls to site_verify_engine_load()
- site_verify_edit_form_submit in ./
site_verify.admin.inc - Submission callback; send form to the next step or save the verification.
- site_verify_load in ./
site_verify.module - Menu load callback; loads a site verification record.
File
- ./
site_verify.module, line 129 - Site Verify provides a tool for verification codes (meta tags or custom pages) to be added to the site, for verification with external search engines.
Code
function site_verify_engine_load($engine) {
$engines = site_verify_get_engines();
return isset($engines[$engine]) ? $engines[$engine] : FALSE;
}