function cpn_permission in Code per Node 7
Implements hook_permission().
File
- ./
cpn.module, line 10 - Primary hook implementations.
Code
function cpn_permission() {
$permissions['administer code per node']['title'] = t('Administer <em>Code per Node</em>');
$permissions['edit css per node']['title'] = t('Edit CSS per node');
$permissions['edit javascript per node']['title'] = t('Edit JavaScript per node');
if (module_exists('block')) {
$permissions['edit css per block']['title'] = t('Edit CSS per block');
$permissions['edit javascript per block']['title'] = t('Edit JavaScript per block');
}
return $permissions;
}