function ConfigLocalTasksTest::testConfigAdminLocalTasks

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

Tests config local tasks existence.

@dataProvider getConfigAdminRoutes

File

core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php, line 29

Class

ConfigLocalTasksTest
Tests existence of config local tasks.

Namespace

Drupal\Tests\config\Unit\Menu

Code

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