function panopoly_wysiwyg_install in Panopoly WYSIWYG 8.2
Implements hook_install().
File
- ./
panopoly_wysiwyg.install, line 15 - Install hooks for Panopoly WYSIWYG.
Code
function panopoly_wysiwyg_install() {
user_role_grant_permissions('editor', [
'use text format restricted_html',
'use text format panopoly_wysiwyg_basic',
]);
}