public function RegistryTest::provider40xThemeSuggestions in Drupal 8
Same name and namespace in other branches
- 9 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\ThemeCode
public function provider40xThemeSuggestions() {
return [
[
'system.401',
'page__401',
],
[
'system.403',
'page__403',
],
[
'system.404',
'page__404',
],
];
}