You are here

public function SiteVerifyService::siteVerifyEngineLoad in Site verification 8

Menu load callback; loads engine details.

Parameters

string $engine: A string with the engine shortname.

Return value

array An arary of the engine details, or FALSE if not found.

1 call to SiteVerifyService::siteVerifyEngineLoad()
SiteVerifyService::siteVerifyLoad in src/Service/SiteVerifyService.php
Menu load callback; loads a site verification record.

File

src/Service/SiteVerifyService.php, line 47

Class

SiteVerifyService
Class SiteVerifyService.

Namespace

Drupal\site_verify\Service

Code

public function siteVerifyEngineLoad($engine) {
  $engines = $this
    ->siteVerifyGetEngines();
  return isset($engines[$engine]) ? $engines[$engine] : FALSE;
}