function SystemLocalTasksTest::testSystemAdminLocalTasks
Same name in other branches
- 9 core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest::testSystemAdminLocalTasks()
- 8.9.x core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest::testSystemAdminLocalTasks()
- 11.x core/modules/system/tests/src/Unit/Menu/SystemLocalTasksTest.php \Drupal\Tests\system\Unit\Menu\SystemLocalTasksTest::testSystemAdminLocalTasks()
Tests local task existence.
@dataProvider getSystemAdminRoutes
File
-
core/
modules/ system/ tests/ src/ Unit/ Menu/ SystemLocalTasksTest.php, line 72
Class
- SystemLocalTasksTest
- Tests existence of system local tasks.
Namespace
Drupal\Tests\system\Unit\MenuCode
public function testSystemAdminLocalTasks($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.