ServiceDeprecationTest::$modules
Same name and namespace in other branches
- 10 core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php \Drupal\FunctionalTests\Core\Container\ServiceDeprecationTest::modules
- 11.x core/tests/Drupal/FunctionalTests/Core/Container/ServiceDeprecationTest.php \Drupal\FunctionalTests\Core\Container\ServiceDeprecationTest::modules
Type: modules
Overrides BrowserTestBase::$modules
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Container/ ServiceDeprecationTest.php, line 24
Class
- ServiceDeprecationTest
- Test whether deprecation notices are triggered via <a href="/api/drupal/core%21lib%21Drupal.php/function/Drupal%3A%3Aservice/9" title="Retrieves a service from the container." class="local">\Drupal::service</a>().
Namespace
Drupal\FunctionalTests\Core\ContainerCode
protected static $modules = [
'deprecation_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.