function BlockContentLocalTasksTest::getBlockContentListingRoutes
Same name in other branches
- 9 core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php \Drupal\Tests\block_content\Unit\Menu\BlockContentLocalTasksTest::getBlockContentListingRoutes()
- 8.9.x core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php \Drupal\Tests\block_content\Unit\Menu\BlockContentLocalTasksTest::getBlockContentListingRoutes()
- 10 core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php \Drupal\Tests\block_content\Unit\Menu\BlockContentLocalTasksTest::getBlockContentListingRoutes()
Provides a list of routes to test.
File
-
core/
modules/ block_content/ tests/ src/ Unit/ Menu/ BlockContentLocalTasksTest.php, line 83
Class
- BlockContentLocalTasksTest
- Tests existence of block_content local tasks.
Namespace
Drupal\Tests\block_content\Unit\MenuCode
public static function getBlockContentListingRoutes() {
return [
[
'entity.block_content.collection',
'system.admin_content',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.