You are here

taxonomy.post_update.php in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/taxonomy/taxonomy.post_update.php

Post update functions for Taxonomy.

File

core/modules/taxonomy/taxonomy.post_update.php
View source
<?php

/**
 * @file
 * Post update functions for Taxonomy.
 */

/**
 * Implements hook_removed_post_updates().
 */
function taxonomy_removed_post_updates() {
  return [
    'taxonomy_post_update_clear_views_data_cache' => '9.0.0',
    'taxonomy_post_update_clear_entity_bundle_field_definitions_cache' => '9.0.0',
    'taxonomy_post_update_handle_publishing_status_addition_in_views' => '9.0.0',
    'taxonomy_post_update_remove_hierarchy_from_vocabularies' => '9.0.0',
    'taxonomy_post_update_make_taxonomy_term_revisionable' => '9.0.0',
    'taxonomy_post_update_configure_status_field_widget' => '9.0.0',
  ];
}

/**
 * Clear the cache after deprecating Term views argument validator.
 */
function taxonomy_post_update_clear_views_argument_validator_plugins_cache() : void {

  // An empty update will flush all caches.
}

Functions

Namesort descending Description
taxonomy_post_update_clear_views_argument_validator_plugins_cache Clear the cache after deprecating Term views argument validator.
taxonomy_removed_post_updates Implements hook_removed_post_updates().