You are here

function opengraph_meta_permission in Open Graph meta tags 6

Same name and namespace in other branches
  1. 7 opengraph_meta.drupal7-hooks.inc \opengraph_meta_permission()

Implements hook_permission().

File

./opengraph_meta.drupal7-hooks.inc, line 10

Code

function opengraph_meta_permission() {
  return array(
    OPENGRAPH_META_PERM_ADMIN => array(
      'title' => t('Administer Open Graph meta tags'),
      'description' => t('Administer default Open Graph meta tags options'),
    ),
    OPENGRAPH_META_PERM_EDIT => array(
      'title' => t('Edit Open Graph meta tags'),
      'description' => t('Edit Open Graph meta tags on a node'),
    ),
  );
}