You are here

function node_expire_permission in Node expire 7

Same name and namespace in other branches
  1. 8 node_expire.module \node_expire_permission()
  2. 7.2 node_expire.module \node_expire_permission()

Implements hook_permission().

File

./node_expire.module, line 252
Set a timer into your content, allowing you to perform customized actions.

Code

function node_expire_permission() {
  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.'),
    ),
  );
}