You are here

function auto_expire_permission in Auto Expire 7

Implements hook_permission().

File

./auto_expire.module, line 19

Code

function auto_expire_permission() {
  return array(
    ADMINISTER_AUTO_EXPIRE => array(
      'title' => t(ADMINISTER_AUTO_EXPIRE),
      'description' => t('Administer the Auto Expire options'),
    ),
    EXTEND_AUTO_EXPIRE_OWN => array(
      'title' => t(EXTEND_AUTO_EXPIRE_OWN),
      'description' => t('Extend expire on own content'),
    ),
    EXTEND_AUTO_EXPIRE_ALL => array(
      'title' => t(EXTEND_AUTO_EXPIRE_ALL),
      'description' => t('Extend expire on all content'),
    ),
  );
}