30 lines
		
	
	
		
			873 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			873 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * @file
 | 
						|
 * Post update functions for Media.
 | 
						|
 */
 | 
						|
 | 
						|
/**
 | 
						|
 * Implements hook_removed_post_updates().
 | 
						|
 */
 | 
						|
function media_removed_post_updates(): array {
 | 
						|
  return [
 | 
						|
    'media_post_update_collection_route' => '9.0.0',
 | 
						|
    'media_post_update_storage_handler' => '9.0.0',
 | 
						|
    'media_post_update_enable_standalone_url' => '9.0.0',
 | 
						|
    'media_post_update_add_status_extra_filter' => '9.0.0',
 | 
						|
    'media_post_update_modify_base_field_author_override' => '10.0.0',
 | 
						|
    'media_post_update_oembed_loading_attribute' => '11.0.0',
 | 
						|
    'media_post_update_set_blank_iframe_domain_to_null' => '11.0.0',
 | 
						|
    'media_post_update_remove_mappings_targeting_source_field' => '11.0.0',
 | 
						|
  ];
 | 
						|
}
 | 
						|
 | 
						|
/**
 | 
						|
 * Empty update function to clear the Views data cache.
 | 
						|
 */
 | 
						|
function media_post_update_media_author_views_filter_update(): void {
 | 
						|
  // Empty update function to clear the Views data cache.
 | 
						|
}
 |