You are here

function ckeditor_responsive_plugin_install in CKEditor Responsive Plugin 8

Same name and namespace in other branches
  1. 2.0.x ckeditor_responsive_plugin.install \ckeditor_responsive_plugin_install()

Display a message after the module installation. Implements hook_enable().

File

./ckeditor_responsive_plugin.install, line 11
Install, update, and uninstall functions for the module.

Code

function ckeditor_responsive_plugin_install() {
  drupal_set_message(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://github.com/kgaut/drupal-ckeditor-responsive-plugin/blob/8.x-1.x/README.txt',
    '@ck_config_url' => \Drupal\Core\Url::fromRoute('filter.admin_overview')
      ->toString(),
  ]));
}