function InstallerExtensionListDeprecationTest::testInstallerModuleExtensionListDeprecation
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Core/Installer/InstallerExtensionListDeprecationTest.php \Drupal\Tests\Core\Installer\InstallerExtensionListDeprecationTest::testInstallerModuleExtensionListDeprecation()
Tests the installer module extension list deprecation.
File
-
core/
tests/ Drupal/ Tests/ Core/ Installer/ InstallerExtensionListDeprecationTest.php, line 29
Class
- InstallerExtensionListDeprecationTest
- Tests deprecations for installer extension list compatibility layers.
Namespace
Drupal\Tests\Core\InstallerCode
public function testInstallerModuleExtensionListDeprecation() : void {
$this->expectUserDeprecationMessage('Drupal\\Core\\Installer\\InstallerModuleExtensionList is deprecated in drupal:11.5.0 and is removed from drupal:13.0.0. Use Drupal\\Core\\Extension\\ModuleExtensionList instead. See https://www.drupal.org/node/3577846');
$this->assertTrue(class_exists('Drupal\\Core\\Installer\\InstallerModuleExtensionList'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.