swup-1.0.0-alpha1/swup_ui/swup_ui.install

swup_ui/swup_ui.install
<?php

/**
 * @file
 * Install, update and uninstall functions for the Swup UI module.
 */

use Drupal\Core\Url;

/**
 * Implements hook_install().
 */
function swup_ui_install() {
  // Provide a direct link to the settings form after installation.
  \Drupal::messenger()->addStatus(t(
    'Configure Swup.js <a href=":settings">global settings</a>.',
    [':settings' => Url::fromRoute('swup.settings')->toString()]
  ));
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc