function hfs_permission in Header and Footer Scripts 7
Same name and namespace in other branches
- 7.2 hfs.module \hfs_permission()
Implements hook_permission().
File
- ./
hfs.module, line 63 - Enables Drupal to add scripts and styles from the frontend on all over the site.
Code
function hfs_permission() {
$permissions['administer hfs module'] = array(
'title' => t('Add Scripts all over the site'),
'restrict access' => TRUE,
'description' => t('Users who have this permission can add and remove the scripts from the site.'),
);
return $permissions;
}