Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
8 files
+ 11
137
Compare changes
  • Side-by-side
  • Inline
Files
8
  • f4311179
    Issue #3263391 by longwave: Remove deprecated code from book.module · f4311179
    catch authored
@@ -475,14 +475,6 @@ function drupal_static_reset($name = NULL) {
case 'taxonomy_vocabulary_get_names':
@trigger_error("Calling drupal_static_reset() with 'taxonomy_vocabulary_get_names' 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/3039041", E_USER_DEPRECATED);
break;
case 'Drupal\book\BookManager::bookSubtreeData':
case 'Drupal\book\BookManager::bookTreeAllData':
case 'Drupal\book\BookManager::doBookTreeBuild':
@trigger_error("Calling drupal_static_reset() with '{$name}' as argument is deprecated in drupal:9.3.0 and is removed in drupal:10.0.0. Use \Drupal::service('book.memory_cache')->deleteAll() instead. See https://www.drupal.org/node/3039439", E_USER_DEPRECATED);
\Drupal::service('book.memory_cache')->deleteAll();
break;
}
drupal_static($name, NULL, TRUE);
}
Loading