function relation_permission in Relation 7
Implements hook_permission().
File
- ./
relation.module, line 156 - Describes relations between entities.
Code
function relation_permission() {
return array(
'administer relation types' => array(
'title' => t('Administer Relation types'),
'description' => t('Create, edit, delete, and perform administration tasks for relation types.'),
),
'export relation types' => array(
'title' => t('Export Relation types'),
),
'use relation import' => array(
'title' => t('Use Relation import'),
'restrict access' => TRUE,
),
'access relations' => array(
'title' => t('View Relations'),
'description' => t('Grant access to view the endpoints of Relations.'),
),
'create relations' => array(
'title' => t('Create Relations'),
),
'edit relations' => array(
'title' => t('Edit Relations'),
),
'delete relations' => array(
'title' => t('Delete Relations'),
),
'administer relations' => array(
'title' => t('Administer Relations'),
),
);
}