You are here

function cacheflush_ui_permission in CacheFlush 7.3

Implements hook_permission().

File

modules/cacheflush_ui/cacheflush_ui.module, line 107
Cacheflush User Interface.

Code

function cacheflush_ui_permission() {
  return array(
    'cacheflush administer' => array(
      'title' => t('Administer cacheflush entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush clear own' => array(
      'title' => t('Clear own entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush clear any' => array(
      'title' => t('Clear any entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush create new' => array(
      'title' => t('Create new entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush view own' => array(
      'title' => t('View own entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush view any' => array(
      'title' => t('View any entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush edit own' => array(
      'title' => t('Edit own entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush edit any' => array(
      'title' => t('Edit any entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush delete own' => array(
      'title' => t('Delete own entity'),
      'restrict access' => TRUE,
    ),
    'cacheflush delete any' => array(
      'title' => t('Delete any entity'),
      'restrict access' => TRUE,
    ),
  );
}