You are here

function farm_api_permission in farmOS 7

Implements hook_permission().

File

modules/farm/farm_api/farm_api.module, line 15
Farm API module.

Code

function farm_api_permission() {
  $perms = array(
    'access farm api info' => array(
      'title' => t('Access the farmOS API info endpoint'),
    ),
    'administer farm api oauth clients' => array(
      'title' => t('Administer farmOS OAuth Clients.'),
    ),
  );
  return $perms;
}