Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up for #1946456-35: Convert taxonomy_term_confirm_delete() and taxonomy_vocabulary_confirm_delete() to the new form interface
Currently TermDelete
form controller calls Cache::invalidateTags(array('content' => TRUE));
- move this to storage controller resetCache()
Vocabulary storage controller uses deprecated cache_invalidate_tags(array('content' => TRUE));
- make this injected
Comments
Comment #1
amateescu CreditAttribution: amateescu commentedCache invalidation needs to stay in the form controller. It was moved there from the storage controller (at least the equivalent of it at the time) in #923826: $entity_delete() should use transactions.