function wysiwyg_template_permission in Wysiwyg API template plugin 7.2
Implements hook_permission().
File
- ./
wysiwyg_template.module, line 93 - Makes TinyMCE Templates available as plugin for client-side editors integrated via Wysiwyg API.
Code
function wysiwyg_template_permission() {
$perms = array();
$perms['administer wysiwyg templates'] = array(
'title' => t('Administer WYSIWYG Templates'),
'description' => t('Create, edit and delete WYSIWYG templates.'),
);
$perms['import wysiwyg templates'] = array(
'title' => t('Import WYSIWYG Templates'),
'description' => t('Import WYSIWYG templates from exported code.'),
'restrict access' => TRUE,
);
return $perms;
}