function environment_indicator_permission in Environment Indicator 7
Same name and namespace in other branches
- 8.2 environment_indicator.module \environment_indicator_permission()
- 7.2 environment_indicator.module \environment_indicator_permission()
Implement hook_permission().
File
- ./
environment_indicator.module, line 39 - Adds a coloured strip to the side of the site informing the user which environment they are in (Development, Staging Production etc).
Code
function environment_indicator_permission() {
return array(
'access environment indicator' => array(
'title' => t('Access environment indicator'),
'description' => t('View the environment indicator'),
),
);
}