You are here

ckeditor_responsive_plugin.install in CKEditor Responsive Plugin 2.0.x

Install, update, and uninstall functions for the module.

File

ckeditor_responsive_plugin.install
View source
<?php

use Drupal\Core\Url;

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

/**
 * Display a message after the module installation.
 * Implements hook_install().
 */
function ckeditor_responsive_plugin_install() {
  Drupal::messenger()
    ->addStatus(t('The Responsive Area plugin is now enable, please add the
   corresponding button on <a href="@ck_config_url">CKEditor toolbar</a>.<br />
   Please look at the <a href="@link" target="_blank">readme file</a> for more
   information.', [
    '@link' => 'https://git.drupalcode.org/project/ckeditor_responsive_plugin/-/blob/8.x-1.x/README.txt',
    '@ck_config_url' => Url::fromRoute('filter.admin_overview')
      ->toString(),
  ]));
}

Functions

Namesort descending Description
ckeditor_responsive_plugin_install Display a message after the module installation. Implements hook_install().