block_content.post_update.php

Same filename and directory in other branches
  1. 11.x core/modules/block_content/block_content.post_update.php
  2. 10 core/modules/block_content/block_content.post_update.php
  3. 9 core/modules/block_content/block_content.post_update.php
  4. 8.9.x core/modules/block_content/block_content.post_update.php

Post update functions for Content Block.

File

core/modules/block_content/block_content.post_update.php

View source
<?php


/**
 * @file
 * Post update functions for Content Block.
 */


/**
 * Implements hook_removed_post_updates().
 */
function block_content_removed_post_updates() : array {
  return [
    'block_content_post_update_add_views_reusable_filter' => '9.0.0',
    'block_content_post_update_entity_changed_constraint' => '11.0.0',
    'block_content_post_update_move_custom_block_library' => '11.0.0',
    'block_content_post_update_block_library_view_permission' => '11.0.0',
    'block_content_post_update_sort_permissions' => '11.0.0',
    'block_content_post_update_revision_type' => '11.0.0',
    'block_content_post_update_remove_block_content_status_info_keys' => '12.0.0',
    'block_content_post_update_remove_block_content_listing_empty' => '12.0.0',
  ];
}

Functions

Title Deprecated Summary
block_content_removed_post_updates Implements hook_removed_post_updates().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.