You are here

function twitter_permission in Twitter 7.3

Same name and namespace in other branches
  1. 7.6 twitter.module \twitter_permission()
  2. 7.4 twitter.module \twitter_permission()
  3. 7.5 twitter.module \twitter_permission()

Implements hook_permission().

File

./twitter.module, line 72
Provides API integration with the Twitter microblogging service.

Code

function twitter_permission() {
  return array(
    'add twitter accounts' => array(
      'title' => t('Add Twitter accounts'),
    ),
    'use global twitter account' => array(
      'title' => t('Use the site global Twitter account'),
    ),
    'make twitter accounts global' => array(
      'title' => t('Assign a Twitter account as the site global account.'),
    ),
    'import own tweets' => array(
      'title' => t('Import own tweets to the site.'),
    ),
  );
}