function protected_submissions_permission in Protected Submissions 7
Implements hook_permission().
File
- ./
protected_submissions.module, line 56 - Blocks submissions from anonymous users that contain pre-defined strings.
Code
function protected_submissions_permission() {
return array(
'bypass protected_submissions' => array(
'title' => t('Bypass <a href="@protected_submissions">Protected Submissions</a> validation', array(
'@protected_submissions' => url('admin/config/content/protected_submissions'),
)),
),
);
}