protected function LoginSecurityTestBase::getAdminUserSettingsFields in Login Security 2.x
Returns a list containig the admin settings fields.
1 call to LoginSecurityTestBase::getAdminUserSettingsFields()
- LoginSecurityInterfaceTest::testAdminUserSettings in tests/
src/ Functional/ LoginSecurityInterfaceTest.php - Test admin user settings.
File
- tests/
src/ Functional/ LoginSecurityTestBase.php, line 46
Class
- LoginSecurityTestBase
- Helper test class with some added functions for testing.
Namespace
Drupal\Tests\login_security\FunctionalCode
protected function getAdminUserSettingsFields() {
return [
'track_time',
'user_wrong_count',
'host_wrong_count',
'host_wrong_count_hard',
'notice_attempts_available',
'notice_attempts_message',
'host_soft_banned',
'host_hard_banned',
'user_blocked',
'user_blocked_notification_emails',
'user_blocked_email_subject',
'user_blocked_email_body',
'last_login_timestamp',
'last_access_timestamp',
'login_activity_notification_emails',
'login_activity_email_subject',
'login_activity_email_body',
'activity_threshold',
];
}