You are here

public function TrustedHosts::getNamespace in Security Review 8

Returns the namespace of the check.

Usually it's the same as the module's name.

Return value

string Human-readable namespace of the check.

Overrides Check::getNamespace

File

src/Checks/TrustedHosts.php, line 27

Class

TrustedHosts
Checks for base_url and trusted_host_patterns settings in settings.php.

Namespace

Drupal\security_review\Checks

Code

public function getNamespace() {
  return 'Security Review';
}