function features_permission in Features 7
Same name and namespace in other branches
- 7.2 features.module \features_permission()
Implements hook_permission().
File
- ./
features.module, line 254 - Module file for the features module, which enables the capture and management of features in Drupal. A feature is a collection of Drupal entities which taken together statisfy a certain use-case.
Code
function features_permission() {
return array(
'administer features' => array(
'title' => t('Administer features'),
'description' => t('Perform administration tasks on features.'),
),
'manage features' => array(
'title' => t('Manage features'),
'description' => t('View, enable and disable features.'),
),
);
}