You are here

function calendar_systems_enable in Calendar Systems 8.2

Implements hook_enable().

File

./calendar_systems.install, line 12
Contains Calendar Systems installation hooks.

Namespace

Drupal\calendar_systems

Code

function calendar_systems_enable() {
  \Drupal::messenger()
    ->addWarning($this
    ->t('There is a problem with calendar systems installation, please visit <a href=":readme-link">site status page</a> for more information.', [
    ':readme-link' => \Drupal\Core\Url::fromRoute('system.status'),
  ]));
}