You are here

function save_draft_permission in Save Draft 7

Implements hook_permission().

File

./save_draft.module, line 22
Main file for the Save Draft module, which adds a 'Save as draft' button to content types.

Code

function save_draft_permission() {
  return array(
    'save draft' => array(
      'title' => t('Save content as draft'),
      'description' => t('Allows people with permission to view and edit their own unpublished content to change the published state of their content when saving it.'),
    ),
  );
}