You are here

protected function LoginSecurityUserBlockingTest::getDefaultDrupalBlockedUserErrorMessage in Login Security 8

Returns the default Drupal Blocked User error message.

1 call to LoginSecurityUserBlockingTest::getDefaultDrupalBlockedUserErrorMessage()
LoginSecurityUserBlockingTest::testDrupalErrorToggle in src/Tests/LoginSecurityUserBlockingTest.php
Test disable core login error toggle.

File

src/Tests/LoginSecurityUserBlockingTest.php, line 63

Class

LoginSecurityUserBlockingTest
Test Login Security's user-blocking restrictions and default messages.

Namespace

Drupal\login_security\Tests

Code

protected function getDefaultDrupalBlockedUserErrorMessage($user_name) {
  return SafeMarkup::format('The username %name has not been activated or is blocked.', [
    '%name' => $user_name,
  ]);
}