function UserLocalTasksTest::testUserAdminLocalTasks
Same name in other branches
- 9 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::testUserAdminLocalTasks()
- 10 core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::testUserAdminLocalTasks()
- 11.x core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php \Drupal\Tests\user\Unit\Menu\UserLocalTasksTest::testUserAdminLocalTasks()
Tests local task existence.
@dataProvider getUserAdminRoutes
File
-
core/
modules/ user/ tests/ src/ Unit/ Menu/ UserLocalTasksTest.php, line 24
Class
- UserLocalTasksTest
- Tests user local tasks.
Namespace
Drupal\Tests\user\Unit\MenuCode
public function testUserAdminLocalTasks($route, $expected) {
$this->assertLocalTasks($route, $expected);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.