You are here

function yoast_seo_permission in Real-time SEO for Drupal 7

Implements hook_permission().

File

./yoast_seo.module, line 11
Primary hook implementations for Yoast SEO for Drupal module.

Code

function yoast_seo_permission() {
  $permissions['administer yoast seo'] = array(
    'title' => t('Administer Real-time SEO for Drupal'),
    'restrict access' => TRUE,
    'description' => t('Control the main settings pages and configure the settings per content types.'),
  );
  $permissions['use yoast seo'] = array(
    'title' => t('Use Real-time SEO for Drupal'),
    'description' => t('Modify Realtime SEO for Drupal configuration per individual nodes.'),
  );
  return $permissions;
}