You are here

function views_accelerator_permission in Views Accelerator 7

Implements hook_permission().

File

./views_accelerator.module, line 393
Views Accelerator module.

Code

function views_accelerator_permission() {
  return array(
    'views accelerator view analyse mode' => array(
      'title' => t('View performance statistics'),
      'description' => t('Superadmin needs to untick the Administrator box, if they do not wish to see any performance stats.<br/>Note that individual users may also be granted access to the peformance stats by name. See the <a href="@url_config">configuration page</a>.', array(
        '@url_config' => url('admin/config/system/views-accelerator'),
      )),
    ),
  );
}