function LegacyFunctionsTest::testDrupalSetTimeLimit
@expectedDeprecation drupal_set_time_limit() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\Environment::setTimeLimit() instead. See https://www.drupal.org/node/3000058. @doesNotPerformAssertions
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Common/ LegacyFunctionsTest.php, line 30
Class
- LegacyFunctionsTest
- Tests legacy functions in <a href="/api/drupal/core%21includes%21common.inc/8.9.x" title="Common functions that many Drupal modules will need to reference." class="local">common.inc</a>.
Namespace
Drupal\KernelTests\Core\CommonCode
public function testDrupalSetTimeLimit() {
drupal_set_time_limit(1000);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.