function entity_example_permission

Implements hook_permission().

Related topics

File

entity_example/entity_example.module, line 237

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;
}