public function BlockLocalTasksTest::providerTestBlockAdminDisplay in Drupal 8
Same name and namespace in other branches
- 9 core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::providerTestBlockAdminDisplay()
Provides a list of routes to test.
File
- core/
modules/ block/ tests/ src/ Unit/ Menu/ BlockLocalTasksTest.php, line 81
Class
- BlockLocalTasksTest
- Tests block local tasks.
Namespace
Drupal\Tests\block\Unit\MenuCode
public function providerTestBlockAdminDisplay() {
return [
[
'block.admin_display',
[
[
'block.admin_display',
],
[
'block.admin_display_theme:test_b',
'block.admin_display_theme:test_c',
],
],
],
[
'block.admin_display_theme',
[
[
'block.admin_display',
],
[
'block.admin_display_theme:test_b',
'block.admin_display_theme:test_c',
],
],
],
];
}