function notifications_widget_install in Notifications widget 8
Implements hook_install().
File
- ./
notifications_widget.install, line 173 - Install, update and uninstall functions for the notification module module.
Code
function notifications_widget_install() {
// Inform the user about save the widget configuration.
\Drupal::messenger()
->addMessage(t('Notification widget will work well once you saved the configuration from <a href=":user_settings_url">Notification Widget Settings</a>.', [
':user_settings_url' => Url::fromRoute('notifications_widget.notifications_widget_settings')
->toString(),
]), 'warning');
}