function LanguageLocalTasksTest::testLanguageAdminLocalTasks

Same name in other branches
  1. 9 core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::testLanguageAdminLocalTasks()
  2. 8.9.x core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::testLanguageAdminLocalTasks()
  3. 10 core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php \Drupal\Tests\language\Unit\Menu\LanguageLocalTasksTest::testLanguageAdminLocalTasks()

Tests language admin overview local tasks existence.

@dataProvider getLanguageAdminOverviewRoutes

File

core/modules/language/tests/src/Unit/Menu/LanguageLocalTasksTest.php, line 31

Class

LanguageLocalTasksTest
Tests existence of language local tasks.

Namespace

Drupal\Tests\language\Unit\Menu

Code

public function testLanguageAdminLocalTasks($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.