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