You are here

function hosting_platform_permission in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 platform/hosting_platform.module \hosting_platform_permission()

Implements hook_permission().

File

platform/hosting_platform.module, line 150
Platform node type definition.

Code

function hosting_platform_permission() {
  return array(
    'administer platforms' => array(
      'title' => t('administer platforms'),
    ),
    'create platform' => array(
      'title' => t('create platform'),
    ),
    'view platform' => array(
      'title' => t('view platform'),
    ),
    'edit platform' => array(
      'title' => t('edit platform'),
    ),
    'delete platform' => array(
      'title' => t('delete platform'),
    ),
    'view locked platforms' => array(
      'title' => t('view locked platforms'),
    ),
    'create sites on locked platforms' => array(
      'title' => t('create sites on locked platforms'),
    ),
  );
}