function modal_page_install in Modal 8
Same name and namespace in other branches
- 8.3 modal_page.install \modal_page_install()
- 8.2 modal_page.install \modal_page_install()
- 5.0.x modal_page.install \modal_page_install()
- 4.0.x modal_page.install \modal_page_install()
- 4.1.x modal_page.install \modal_page_install()
Implements hook_install().
File
- ./
modal_page.install, line 13 - Install, update and uninstall functions for the Modal Page.
Code
function modal_page_install() {
drupal_set_message(t('Thanks for installing Modal Page'));
drupal_set_message(t('You may create Modal by visiting <a href="@url_settings">@url_settings</a>', [
'@url_settings' => Url::fromRoute('modal_page.settings')
->toString(),
]));
}