You are here

function entityconnect_permission in Entity connect 7

Same name and namespace in other branches
  1. 7.2 entityconnect.module \entityconnect_permission()

Implements hook_permission().

Return value

Assoc permission items

File

./entityconnect.module, line 17
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'),
    ),
  );
}