public function SystemMenuBlockTest::configExpandedTestCases in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php \Drupal\Tests\system\Kernel\Block\SystemMenuBlockTest::configExpandedTestCases()
- 9 core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php \Drupal\Tests\system\Kernel\Block\SystemMenuBlockTest::configExpandedTestCases()
Return value
array
File
- core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php, line 315
Class
Namespace
Drupal\Tests\system\Kernel\BlockCode
public function configExpandedTestCases() {
return [
'All levels' => [
'example5',
1,
[
'test.example1' => [],
'test.example2' => [
'test.example3' => [
'test.example4' => [],
],
],
'test.example5' => [
'test.example7' => [],
],
'test.example6' => [],
'test.example8' => [],
],
],
'Level two in "example 5" branch' => [
'example5',
2,
[
'test.example7' => [],
],
],
'Level three in "example 5" branch' => [
'example5',
3,
[],
],
'Level three in "example 4" branch' => [
'example4',
3,
[
'test.example4' => [],
],
],
];
}