function entityconnect_permission in Entity connect 7.2
Same name and namespace in other branches
- 7 entityconnect.module \entityconnect_permission()
Implements hook_permission().
Return value
Assoc permission items
File
- ./
entityconnect.module, line 23 - Handles the main hooks used by entityconnect.
Code
function entityconnect_permission() {
return array(
'entityconnect add button' => array(
'title' => t('Allows users to see add button'),
'description' => t('Display the add button for user'),
),
'entityconnect edit button' => array(
'title' => t('Allows users to see edit button'),
'description' => t('Display the edit button for user'),
),
);
}