function contextual_permission

contextual_permission()

Implements hook_permission().

File

modules/contextual/contextual.module, line 29
Adds contextual links to perform actions related to elements on a page.

Code

function contextual_permission() {
  return array(
    'access contextual links' => array(
      'title' => t('Use contextual links'),
      'description' => t('Use contextual links to perform actions related to elements on a page.'),
    ),
  );
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!contextual!contextual.module/function/contextual_permission/7.x