You are here

function site_verify_permission in Site verification 7.2

Same name and namespace in other branches
  1. 7 site_verify.module \site_verify_permission()

Implements hook_permission().

File

./site_verify.module, line 70
Site Verify provides a tool for verification codes (meta tags or custom pages) to be added to the site, for verification with external search engines.

Code

function site_verify_permission() {
  return array(
    'administer site verify' => array(
      'title' => t('Administer site verification meta tags'),
      'description' => t('Administer search engine site ownership verification meta tags.'),
    ),
    'administer site verify uploads' => array(
      'title' => t('Administer site verification uploads'),
      'description' => t('Administer search engine site ownership verification that requires file uploads.'),
      'restrict access' => TRUE,
    ),
  );
}