function NodeDeprecationTest::testNodeMarkDeprecation
See also
File
-
core/
modules/ node/ tests/ src/ Kernel/ NodeDeprecationTest.php, line 21
Class
- NodeDeprecationTest
- @group node @group legacy
Namespace
Drupal\Tests\node\KernelCode
public function testNodeMarkDeprecation() {
$this->expectDeprecation("Calling drupal_static_reset() with 'node_mark' as argument is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement for this usage. See https://www.drupal.org/node/3037203");
drupal_static_reset('node_mark');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.