You are here

public function BlockContentLocalTasksTest::getBlockContentListingRoutes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 79
Contains \Drupal\Tests\block_content\Unit\Menu\BlockContentLocalTasksTest.

Class

BlockContentLocalTasksTest
Tests existence of block_content local tasks.

Namespace

Drupal\Tests\block_content\Unit\Menu

Code

public function getBlockContentListingRoutes() {
  return array(
    array(
      'entity.block_content.collection',
      'entity.block_content_type.collection',
    ),
  );
}