You are here

function addthis_permission in AddThis 7.2

Same name and namespace in other branches
  1. 7.4 addthis.module \addthis_permission()

Implement hook_permission().

File

./addthis.module, line 11
Stand alone module file to handle AddThis button integration

Code

function addthis_permission() {
  return array(
    'administer addthis' => array(
      'title' => 'Administer Addthis sharing widget',
      'description' => 'Change which services are shown, color, etc and add addthis.com usename',
    ),
    'view addthis' => array(
      'title' => 'View the addthis widget',
      'description' => 'User can see the button which allows them to share posts',
    ),
  );
}