function modal_page_update_8202 in Modal 5.0.x
Same name and namespace in other branches
- 8.3 modal_page.install \modal_page_update_8202()
- 8.2 modal_page.install \modal_page_update_8202()
- 4.0.x modal_page.install \modal_page_update_8202()
- 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 391 - 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();
}