function ContentTranslationLocalTasksTest::testBlockAdminDisplay
Same name in other branches
- 9 core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest::testBlockAdminDisplay()
- 8.9.x core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest::testBlockAdminDisplay()
- 10 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 51
Class
- ContentTranslationLocalTasksTest
- Tests content translation local tasks.
Namespace
Drupal\Tests\content_translation\Unit\MenuCode
public function testBlockAdminDisplay($route, $expected) : void {
$this->assertLocalTasks($route, $expected);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.