public function DeprecatedClassesTest::testDeprecatedSystemInformationFormConstructorParameters in Drupal 8
@covers \Drupal\system\Form\SiteInformationForm::__construct
@expectedDeprecation Calling \Drupal\system\Form\SiteInformationForm::__construct with \Drupal\Core\Path\AliasManagerInterface instead of \Drupal\path_alias\AliasManagerInterface is deprecated in drupal:8.8.0. The new service will be required in drupal:9.0.0. See https://www.drupal.org/node/3092086
File
- core/
modules/ path_alias/ tests/ src/ Unit/ DeprecatedClassesTest.php, line 179
Class
- DeprecatedClassesTest
- Tests deprecation of path alias core service classes.
Namespace
Drupal\Tests\path_alias\UnitCode
public function testDeprecatedSystemInformationFormConstructorParameters() {
$this
->assertDeprecatedConstructorParameter(SiteInformationForm::class);
}