function panopoly_wysiwyg_defaultconfig_user_default_permissions in Panopoly WYSIWYG 7
Implements hook_defaultconfig_user_default_permissions().
File
Code
function panopoly_wysiwyg_defaultconfig_user_default_permissions() {
$permissions = array();
// Exported permission: 'use media wysiwyg'.
$permissions['use media wysiwyg'] = array(
'name' => 'use media wysiwyg',
'roles' => array(
'administrator' => 'administrator',
'authenticated user' => 'authenticated user',
),
'module' => 'media_wysiwyg',
);
// Exported permission: 'use text format panopoly_html_text'.
$permissions['use text format panopoly_html_text'] = array(
'name' => 'use text format panopoly_html_text',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'filter',
);
// Exported permission: 'use text format panopoly_wysiwyg_text'.
$permissions['use text format panopoly_wysiwyg_text'] = array(
'name' => 'use text format panopoly_wysiwyg_text',
'roles' => array(
'administrator' => 'administrator',
'editor' => 'editor',
),
'module' => 'filter',
);
return $permissions;
}