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. 10 core/modules/config/tests/src/Unit/Menu/ConfigLocalTasksTest.php \Drupal\Tests\config\Unit\Menu\ConfigLocalTasksTest::testConfigAdminLocalTasks()
  3. 11.x 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 24

Class

ConfigLocalTasksTest
Tests existence of config local tasks.

Namespace

Drupal\Tests\config\Unit\Menu

Code

public function testConfigAdminLocalTasks($route, $expected) {
    $this->assertLocalTasks($route, $expected);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.