You are here

public function RegistryTest::provider40xThemeSuggestions in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php \Drupal\KernelTests\Core\Theme\RegistryTest::provider40xThemeSuggestions()

Data provider for test40xThemeSuggestions().

Return value

array An associative array of 40x theme suggestions.

File

core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php, line 201

Class

RegistryTest
Tests the behavior of the ThemeRegistry class.

Namespace

Drupal\KernelTests\Core\Theme

Code

public function provider40xThemeSuggestions() {
  return [
    [
      'system.401',
      'page__401',
    ],
    [
      'system.403',
      'page__403',
    ],
    [
      'system.404',
      'page__404',
    ],
  ];
}