You are here

function shoutbox_perm in Shoutbox 5

Same name and namespace in other branches
  1. 6.2 shoutbox.module \shoutbox_perm()
  2. 6 shoutbox.module \shoutbox_perm()

Implementation of hook_perm().

File

./shoutbox.module, line 150
shoutbox module displays a block for users to create short messages for thw whole site. Uses AHAH to update the database and display content.

Code

function shoutbox_perm() {
  return array(
    'post shouts',
    'administer shoutbox',
    'moderate shoutbox',
    'post shouts without approval',
    'delete own shouts',
    'edit own shouts',
  );
}