You are here

function privatemsg_groups_og_permission in Privatemsg 7.2

Implements hook_og_permission().

File

privatemsg_groups/privatemsg_groups.module, line 32
Allows to send messages to all members of an organic group

Code

function privatemsg_groups_og_permission() {
  return array(
    'write privatemsg to group' => array(
      'title' => t('Write privatemsg to an organic group'),
      'description' => t("Allow user to write private messages to an organic group."),
      'default role' => array(
        OG_ADMINISTRATOR_ROLE,
      ),
    ),
  );
}