You are here

function coder_review_permission in Coder 7.2

Same name and namespace in other branches
  1. 7 coder_review/coder_review.module \coder_review_permission()

Implements hook_permission().

File

coder_review/coder_review.module, line 44
Developer module to assist with coder reviews and API upgrade suggestions.

Code

function coder_review_permission() {
  $permission['view code review'] = array(
    'title' => t('View code review'),
    'description' => t('Perform code reviews on modules and themes.'),
  );
  $permission['view code review all'] = array(
    'title' => t('View all code reviews'),
    'description' => t('Perform code reviews on modules and themes, using the "all" modules feature.'),
  );
  return $permission;
}