You are here

function onlyone_permission in Allow a content type only once (Only One) 7

Implements hook_permission().

File

./onlyone.module, line 241
Allows to define if a content type must have more than one node in the site.

Code

function onlyone_permission() {
  return array(
    'administer onlyone' => array(
      'title' => t('Administer Only One'),
      'description' => t('Allow access to configure the module settings.'),
    ),
  );
}