function 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 221

Class

RegistryTest
Tests the behavior of the ThemeRegistry class.

Namespace

Drupal\KernelTests\Core\Theme

Code

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

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