You are here

function zopim_permission in Zopim Live Chat 7

Implementation of hook_permission().

Return value

array Array of available permissions

File

./zopim.module, line 32

Code

function zopim_permission() {
  return array(
    'administer zopim' => array(
      'title' => t('Administer Zopim module'),
      'description' => t('Permission to change Zopim settings'),
    ),
    'use PHP for Zopim visibility' => array(
      'title' => t('Use PHP for Zopim visibility'),
      'description' => t('Permission to set PHP conditions to customize Zopim visibility on various pages'),
    ),
  );
}