You are here

public function ChangeMessageTypeTest::changeMessageTypeDataProvider in Redirect 403 to User Login 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/ChangeMessageTypeTest.php \Drupal\Tests\r4032login\Functional\ChangeMessageTypeTest::changeMessageTypeDataProvider()

Data provider for testChangeMessageType.

File

tests/src/Functional/ChangeMessageTypeTest.php, line 43

Class

ChangeMessageTypeTest
Test that it is possible to change the type of the "Access denied" message.

Namespace

Drupal\Tests\r4032login\Functional

Code

public function changeMessageTypeDataProvider() {
  return [
    [
      'error',
      '.messages--error',
    ],
    [
      'warning',
      '.messages--warning',
    ],
    [
      'status',
      '.messages--status',
    ],
  ];
}