You are here

function fblikebutton_permission in Facebook Like Button 7.2

Same name and namespace in other branches
  1. 7 fblikebutton.module \fblikebutton_permission()

Implements of hook_permission().

File

./fblikebutton.module, line 110
Adds Facebook's "Like" button to each selected node type. Adds a block with a global static value where users can "Like" the URL set by admins.

Code

function fblikebutton_permission() {
  return array(
    'administer fblikebutton' => array(
      'title' => t('Administer FB Like button'),
      'description' => t('Perform administration tasks for FB Like button'),
    ),
    'administer fblikebutton block' => array(
      'title' => t('Administer FB Like button block'),
      'description' => t('Perform administration tasks for FB Like button block'),
    ),
    'access fblikebutton' => array(
      'title' => t('Access FB Like button'),
    ),
  );
}