ckeditor_responsive_plugin.install in CKEditor Responsive Plugin 8
Same filename and directory in other branches
Install, update, and uninstall functions for the module.
File
ckeditor_responsive_plugin.installView source
<?php
/**
* @file
* Install, update, and uninstall functions for the module.
*/
/**
* Display a message after the module installation.
* Implements hook_enable().
*/
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(),
]));
}
Functions
Name | Description |
---|---|
ckeditor_responsive_plugin_install | Display a message after the module installation. Implements hook_enable(). |