function ModuleConfigureRouteTest::testDeprecatedModuleConfigureRoutes

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php \Drupal\KernelTests\Core\Extension\ModuleConfigureRouteTest::testDeprecatedModuleConfigureRoutes()
  2. 10 core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php \Drupal\KernelTests\Core\Extension\ModuleConfigureRouteTest::testDeprecatedModuleConfigureRoutes()

Tests if the module with lifecycle deprecated configure routes exists.

Note: This test is part of group legacy, to make sure installing the deprecated module doesn't trigger a deprecation notice.

@group legacy

File

core/tests/Drupal/KernelTests/Core/Extension/ModuleConfigureRouteTest.php, line 80

Class

ModuleConfigureRouteTest
Tests the configure route for core modules.

Namespace

Drupal\KernelTests\Core\Extension

Code

public function testDeprecatedModuleConfigureRoutes() : void {
    foreach (static::coreModuleListDataProvider() as $module_name => $info) {
        $this->doTestDeprecatedModuleConfigureRoutes($module_name);
    }
}

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