You are here

function addanother_permission in Add Another 7

Same name and namespace in other branches
  1. 7.2 addanother.module \addanother_permission()

Implement hook_permission().

File

./addanother.module, line 29
Presents users with an option to create another node of the same type after a node is added.

Code

function addanother_permission() {
  return array(
    'administer add another' => array(
      'title' => t('Administer Add Another'),
      'description' => t('Configure content types for Add Another'),
    ),
    'use add another' => array(
      'title' => t('Use Add Another'),
      'description' => t('Use the "Add Another..." link to create more content'),
    ),
  );
}