function UpdateLocalTasksTest::testUpdateModuleLocalTasks
Same name in other branches
- 8.9.x core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::testUpdateModuleLocalTasks()
- 10 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::testUpdateModuleLocalTasks()
- 11.x core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::testUpdateModuleLocalTasks()
Checks update module tasks.
@dataProvider getUpdateModuleRoutes
File
-
core/
modules/ update/ tests/ src/ Unit/ Menu/ UpdateLocalTasksTest.php, line 49
Class
- UpdateLocalTasksTest
- Tests existence of update local tasks.
Namespace
Drupal\Tests\update\Unit\MenuCode
public function testUpdateModuleLocalTasks($route) {
$this->assertLocalTasks($route, [
0 => [
'update.module_update',
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.