You are here

function site_verify_engine_load in Site verification 6

Same name and namespace in other branches
  1. 7.2 site_verify.module \site_verify_engine_load()
  2. 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 103

Code

function site_verify_engine_load($engine) {
  $engines = site_verify_get_engines();
  return isset($engines[$engine]) ? $engines[$engine] : FALSE;
}