function ContentTranslationLocalTasksTest::testBlockAdminDisplay

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

Tests the block admin display local tasks.

@dataProvider providerTestBlockAdminDisplay

File

core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php, line 49

Class

ContentTranslationLocalTasksTest
Tests content translation local tasks.

Namespace

Drupal\Tests\content_translation\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.