public function BlockContentLocalTasksTest::getBlockContentListingRoutes in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php \Drupal\Tests\block_content\Unit\Menu\BlockContentLocalTasksTest::getBlockContentListingRoutes()
- 9 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 74
Class
- BlockContentLocalTasksTest
- Tests existence of block_content local tasks.
Namespace
Drupal\Tests\block_content\Unit\MenuCode
public function getBlockContentListingRoutes() {
return [
[
'entity.block_content.collection',
'entity.block_content_type.collection',
],
];
}