You are here

public function Test::getMessage in Security Review 8

Converts a result integer to a human-readable result message.

Parameters

int $result_const: The result integer.

Return value

string The human-readable result message.

Overrides Check::getMessage

File

tests/modules/security_review_test/src/Test.php, line 49

Class

Test
A test security check for testing extensibility.

Namespace

Drupal\security_review_test

Code

public function getMessage($result_const) {
  return 'The test ran.';
}