public function ContentTranslationLocalTasksTest::testBlockAdminDisplay in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_translation/tests/src/Unit/Menu/ContentTranslationLocalTasksTest.php \Drupal\Tests\content_translation\Unit\Menu\ContentTranslationLocalTasksTest::testBlockAdminDisplay()
- 9 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 46
Class
- ContentTranslationLocalTasksTest
- Tests content translation local tasks.
Namespace
Drupal\Tests\content_translation\Unit\MenuCode
public function testBlockAdminDisplay($route, $expected) {
$this
->assertLocalTasks($route, $expected);
}