You are here

function activity_permission in Activity 7

Implements hook_permission().

File

./activity.module, line 116
Records Activity across the site and surfaces that to Views.

Code

function activity_permission() {
  return array(
    'administer activity' => array(
      'title' => t('Administer Activity'),
      'description' => t('Perform administration tasks for Activity.'),
    ),
    'delete own activity' => array(
      'title' => t('Delete own Activity'),
      'description' => t('Delete their own Activity from the site.'),
    ),
  );
}