function tripal_contact_permission
2.x tripal_contact.module | tripal_contact_permission() |
3.x tripal_contact.module | tripal_contact_permission() |
Implement hook_permission().
File
- legacy/
tripal_contact/ tripal_contact.module, line 187 - Functions related to general module functionality.
Code
function tripal_contact_permission() {
return array(
/*
'access chado_contact content' => array(
'title' => t('View Contacts'),
'description' => t('Allow users to view contact pages.'),
),
'create chado_contact content' => array(
'title' => t('Create Contacts'),
'description' => t('Allow users to create new contact pages.'),
),
'delete chado_contact content' => array(
'title' => t('Delete Contacts'),
'description' => t('Allow users to delete contact pages.'),
),
'edit chado_contact content' => array(
'title' => t('Edit Contacts'),
'description' => t('Allow users to edit contact pages.'),
),
'administer tripal contact' => array(
'title' => t('Administer Contacts'),
'description' => t('Allow users to administer all contacts.'),
),
*/
);
}