You are here

function save_edit_permission in Save & Edit 7

Implements hook_permission().

File

./save_edit.module, line 39
Save & Edit (http://drupal.org/project/save_edit) Provides a button that gives users the option to Save a form they are working on, AND return to the editing form in one step.

Code

function save_edit_permission() {
  return array(
    'use save and edit' => array(
      'title' => t('Use Save and Edit Button'),
      'description' => t('Display the Save and Edit Button on the specified entity forms.'),
    ),
    'administer save and edit' => array(
      'title' => t('Administer Save and Edit'),
      'description' => t('Change the Save and Edit configurations.'),
    ),
  );
}