You are here

function jquery_calendar_install in jQuery World Calendars API 3.x

Same name and namespace in other branches
  1. 7 jquery_calendar.install \jquery_calendar_install()

Implements hook_install().

File

./jquery_calendar.install, line 13
Install, update and uninstall functions for the jquery_calendar module.

Code

function jquery_calendar_install() {
  \Drupal::messenger()
    ->addMessage(t('Thanks for installing Jquery Calendar'));
  \Drupal::messenger()
    ->addMessage(t('You may configure Jquery Calendar by visiting <a href="@url_settings">@url_settings</a>', [
    '@url_settings' => Url::fromRoute('jquery_calendar.settings')
      ->toString(),
  ]));
}