function RegistryTest::provider40xThemeSuggestions

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php \Drupal\KernelTests\Core\Theme\RegistryTest::provider40xThemeSuggestions()
  2. 10 core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php \Drupal\KernelTests\Core\Theme\RegistryTest::provider40xThemeSuggestions()
  3. 11.x 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 193

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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.