function modal_page_update_8001 in Modal 8.3
Same name and namespace in other branches
- 8.2 modal_page.install \modal_page_update_8001()
- 5.0.x modal_page.install \modal_page_update_8001()
- 4.0.x modal_page.install \modal_page_update_8001()
- 4.1.x modal_page.install \modal_page_update_8001()
Modal Page with Entities.
File
- ./
modal_page.install, line 153 - Install, update and uninstall functions for the Modal Page.
Code
function modal_page_update_8001() {
\Drupal::entityDefinitionUpdateManager()
->applyUpdates();
\Drupal::service('modal_page.modals')
->importModalConfigToEntity();
$messenger = \Drupal::messenger();
$messenger
->addStatus(t('Thanks for use Modal Page 2'));
$messenger
->addStatus(t('You may create Modal by visiting: You may create Modal at: Administration » Structure » Modal'));
}