You are here

function diff_permission in Diff 7.3

Implements hook_permission().

File

./diff.module, line 215
Provides functionality to show a diff between two node revisions.

Code

function diff_permission() {
  return array(
    'diff view changes' => array(
      'title' => t('Access %view button', array(
        '%view' => t('View changes'),
      )),
      'description' => t('Controls access to the %view button when editing content.', array(
        '%view' => t('View changes'),
      )),
    ),
  );
}