You are here

function fb_permissions_install in Facebook Autopost 7

Implements hook_install().

File

fb_permissions/fb_permissions.install, line 11
Installation file.

Code

function fb_permissions_install() {

  // Set default values for the different roles.
  variable_set('fb_permissions_facebook_permissions:1', array(
    'publish_actions',
  ));
  variable_set('fb_permissions_facebook_permissions:2', array(
    'publish_actions',
  ));
  variable_set('fb_permissions_facebook_permissions:3', array(
    'manage_pages',
    'publish_actions',
    'publish_pages',
  ));
}