comparison core/modules/system/system.post_update.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
85 85
86 /** 86 /**
87 * Clear caches due to schema changes in core.entity.schema.yml. 87 * Clear caches due to schema changes in core.entity.schema.yml.
88 */ 88 */
89 function system_post_update_field_formatter_entity_schema() { 89 function system_post_update_field_formatter_entity_schema() {
90 // Empty post-update hook.
91 }
92
93 /**
94 * Clear the library cache and ensure aggregate files are regenerated.
95 */
96 function system_post_update_fix_jquery_extend() {
90 // Empty post-update hook. 97 // Empty post-update hook.
91 } 98 }
92 99
93 /** 100 /**
94 * Change plugin IDs of actions. 101 * Change plugin IDs of actions.
176 * @see https://www.drupal.org/project/drupal/issues/2995570 183 * @see https://www.drupal.org/project/drupal/issues/2995570
177 */ 184 */
178 function system_post_update_states_clear_cache() { 185 function system_post_update_states_clear_cache() {
179 // Empty post-update hook. 186 // Empty post-update hook.
180 } 187 }
188
189 /**
190 * Initialize 'expand_all_items' values to system_menu_block.
191 */
192 function system_post_update_add_expand_all_items_key_in_system_menu_block(&$sandbox = NULL) {
193 if (!\Drupal::moduleHandler()->moduleExists('block')) {
194 return;
195 }
196 \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'block', function ($block) {
197 return strpos($block->getPluginId(), 'system_menu_block:') === 0;
198 });
199 }
200
201 /**
202 * Clear the menu cache.
203 *
204 * @see https://www.drupal.org/project/drupal/issues/3044364
205 */
206 function system_post_update_clear_menu_cache() {
207 // Empty post-update hook.
208 }