function UpdateLocalTasksTest::getUpdateThemeRoutes

Same name in other branches
  1. 9 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::getUpdateThemeRoutes()
  2. 8.9.x core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::getUpdateThemeRoutes()
  3. 10 core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php \Drupal\Tests\update\Unit\Menu\UpdateLocalTasksTest::getUpdateThemeRoutes()

Provides a list of theme routes to test.

File

core/modules/update/tests/src/Unit/Menu/UpdateLocalTasksTest.php, line 80

Class

UpdateLocalTasksTest
Tests existence of update local tasks.

Namespace

Drupal\Tests\update\Unit\Menu

Code

public static function getUpdateThemeRoutes() {
    return [
        [
            'update.theme_update',
        ],
    ];
}

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