1 entity_example.module | entity_example_permission() |
Implements hook_permission().
Related topics
File
- modules/
examples/ entity_example/ entity_example.module, line 232 - Hook implementations for the Entity Example module.
Code
function entity_example_permission() {
$permissions = array(
'administer entity_example_basic entities' => array(
'title' => t('Administer entity_example_basic entities'),
),
'view any entity_example_basic entity' => array(
'title' => t('View any Entity Example Basic entity'),
),
'edit any entity_example_basic entity' => array(
'title' => t('Edit any Entity Example Basic entity'),
),
'create entity_example_basic entities' => array(
'title' => t('Create Entity Example Basic Entities'),
),
);
return $permissions;
}