You are here

function headerimage_permission in Header image 7

Implementation of hook_permission().

File

./headerimage.module, line 109
headerimage.module Conditionally display an node in a block.

Code

function headerimage_permission() {
  return array(
    'administer header image' => array(
      'title' => t('Administer header image'),
      'description' => t('Perform administration tasks for headerimage module.'),
    ),
    'maintain display conditions' => array(
      'title' => t('Maintain display conditions'),
      'description' => t('Perform maintain display conditions.'),
    ),
    'view header image' => array(
      'title' => t('View header image'),
      'description' => t('Permission to view the header image.'),
    ),
  );
}