You are here

function abjs_permission in A/B Test JS 7

Implements hook_permission().

File

./abjs.module, line 25
Define permissions and admin form paths, and write test JavaScript.

Code

function abjs_permission() {
  return array(
    'administer ab tests' => array(
      'title' => t('Administer A/B Test Configuration'),
      'description' => t('Administer A/B test configuration'),
    ),
    'administer ab test scripts and settings' => array(
      'title' => t('Administer A/B Test Scripts and Settings'),
      'description' => t('Administer A/B test condition and experience scripts and test settings.'),
      'restrict access' => TRUE,
    ),
  );
}