function clean_markup_blocks_permission in Clean Markup 7.2
Same name and namespace in other branches
- 7.3 modules/clean_markup_blocks/clean_markup_blocks.module \clean_markup_blocks_permission()
- 7 modules/clean_markup_blocks/clean_markup_blocks.module \clean_markup_blocks_permission()
Implements hook_permission().
File
- modules/
clean_markup_blocks/ clean_markup_blocks.module, line 11 - Provides clean block markup.
Code
function clean_markup_blocks_permission() {
$permissions = array();
$permissions['administer clean markup block settings'] = array(
'title' => t('Administer clean block markup settings'),
'description' => t('Change the HTML used to render blocks.') . '<br />' . t('Users with this permission can insert arbitrary HTML, including script code, which they could use to launch Cross Site Scripting (XSS) attacks.'),
'restrict access' => TRUE,
);
return $permissions;
}