You are here

function block_refresh_permission in Block Refresh 7.2

Same name and namespace in other branches
  1. 7 block_refresh.module \block_refresh_permission()

Implements hook_permission(). Add permission for accessing auto/manually refreshed block content

File

./block_refresh.module, line 35

Code

function block_refresh_permission() {
  return array(
    BLOCK_REFRESH_ACCESS_CONTENT_PERMISSION => array(
      'title' => t('Access block refresh content'),
      'description' => t('Selected roles will see content refreshed in enabled blocks.'),
    ),
  );
}