function BlockLocalTasksTest::testBlockAdminDisplay

Same name in other branches
  1. 9 core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminDisplay()
  2. 10 core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminDisplay()
  3. 11.x core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php \Drupal\Tests\block\Unit\Menu\BlockLocalTasksTest::testBlockAdminDisplay()

Tests the block admin display local tasks.

@dataProvider providerTestBlockAdminDisplay

File

core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php, line 74

Class

BlockLocalTasksTest
Tests block local tasks.

Namespace

Drupal\Tests\block\Unit\Menu

Code

public function testBlockAdminDisplay($route, $expected) {
    $this->assertLocalTasks($route, $expected);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.