function demo_permission in Demonstration site (Sandbox / Snapshot) 7
Implements hook_perm().
File
- ./
demo.module, line 11 - Demonstration site API Drupal integration functions.
Code
function demo_permission() {
return array(
'administer demo settings' => array(
'title' => t('Create snapshots and reset the site'),
'restrict access' => TRUE,
),
);
}