You are here

function modal_page_update_8202 in Modal 4.0.x

Same name and namespace in other branches
  1. 8.3 modal_page.install \modal_page_update_8202()
  2. 8.2 modal_page.install \modal_page_update_8202()
  3. 5.0.x modal_page.install \modal_page_update_8202()
  4. 4.1.x modal_page.install \modal_page_update_8202()

Implements hook_update_N().

Hook to update the entity modal_page_modal.

File

./modal_page.install, line 96
Install, update and uninstall functions for the Modal Page.

Code

function modal_page_update_8202() {
  create_storage_published();
  populate_published_field();
  \Drupal::service('cache.render')
    ->invalidateAll();
}