You are here

function lexicon_permission in Lexicon 7

Implements hook_permission().

File

./lexicon.module, line 424
The Lexicon module is used to create lists of terms and definitions to use on a website and optionally mark those terms in the content of the website.

Code

function lexicon_permission() {
  return array(
    'administer lexicon' => array(
      'title' => t('Administer lexicon'),
      'description' => t('Administer Lexicon module settings'),
    ),
    'access lexicon' => array(
      'title' => t('Access lexicon'),
      'description' => t('Access the Lexicon page'),
    ),
  );
}