You are here

function formassembly_permission in FormAssembly 7

Implements hook_permission().

File

./formassembly.module, line 236
Contains hooks implementations and callbacks to non-admin pages.

Code

function formassembly_permission() {
  $return = array();
  $return['administer formassembly'] = array(
    'title' => t('Administer FormAssembly'),
    'description' => t("Make requests against FormAssembly's API and sync forms"),
  );
  $return['view formassembly'] = array(
    'title' => t('View FormAssembly Forms'),
    'description' => t('View an imported FromAssembly Form'),
  );
  $return['reference formassembly'] = array(
    'title' => t('Reference FormAssembly Forms'),
    'description' => t('Select FromAssembly Forms to embed via Entity Reference fields'),
  );
  return $return;
}