public static function CommonHookHandler::hookPermission in Node expire 7.2
Implements hook_permission().
1 call to CommonHookHandler::hookPermission()
- node_expire_permission in ./
node_expire.module - Implements hook_permission().
File
- src/
Module/ Hook/ CommonHookHandler.php, line 73 - CommonHookHandler class.
Class
- CommonHookHandler
- CommonHookHandler class.
Namespace
Drupal\node_expire\Module\HookCode
public static function hookPermission() {
return array(
'administer node expire' => array(
'title' => t('Administer node expire'),
'description' => t('Administer node expire functionality.'),
),
'edit node expire' => array(
'title' => t('Edit node expire'),
'description' => t('Edit node expiration dates.'),
),
);
}