Changes for core/includes/bootstrap.inc: 4 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
@@ -630,6 +630,10 @@ function drupal_static_reset($name = NULL) {
@trigger_error("Using drupal_static_reset() with 'taxonomy_vocabulary_get_names' as parameter 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/3039041",E_USER_DEPRECATED);
break;
case'node_mark':
@trigger_error("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",E_USER_DEPRECATED);
Changes for core/modules/node/tests/src/Kernel/NodeDeprecationTest.php: 26 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
<?php
namespaceDrupal\Tests\node\Kernel;
useDrupal\KernelTests\KernelTestBase;
/**
* @group node
* @group legacy
*/
classNodeDeprecationTestextendsKernelTestBase{
/**
* {@inheritdoc}
*/
protectedstatic$modules=['node'];
/**
* @see node_mark()
*/
publicfunctiontestNodeMarkDeprecation(){
$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");