You are here

public function BlockLocalTasksTest::providerTestBlockAdminDisplay in Zircon Profile 8

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

Class

BlockLocalTasksTest
Tests block local tasks.

Namespace

Drupal\Tests\block\Unit\Menu

Code

public function providerTestBlockAdminDisplay() {
  return array(
    array(
      'block.admin_display',
      array(
        array(
          'block.admin_display',
        ),
        array(
          'block.admin_display_theme:test_b',
          'block.admin_display_theme:test_c',
        ),
      ),
    ),
    array(
      'block.admin_display_theme',
      array(
        array(
          'block.admin_display',
        ),
        array(
          'block.admin_display_theme:test_b',
          'block.admin_display_theme:test_c',
        ),
      ),
    ),
  );
}