You are here

function block_upload_permission in Block Upload 7

Implements hook_permission().

File

./block_upload.module, line 11
Block Upload module.

Code

function block_upload_permission() {
  return array(
    'block upload' => array(
      'title' => t('Block upload'),
      'description' => t('Upload files through the block.'),
    ),
    'block remove' => array(
      'title' => t('Allow to remove files via block'),
      'description' => t('Allow user to remove files through the block.'),
    ),
  );
}