You are here

function shoutbox_action_info in Shoutbox 7

Same name and namespace in other branches
  1. 7.2 shoutbox.module \shoutbox_action_info()

Implements hook_action_info

File

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

Code

function shoutbox_action_info() {
  return array(
    'shoutbox_shout_delete_action' => array(
      'type' => 'shout',
      'description' => t('Delete ' . DEFAULTSHOUTPLURAL_CC),
      'label' => t('Delete Shoutbox ' . DEFAULTSHOUTSINGULAR),
      'configurable' => FALSE,
      'hooks' => array(
        'shout' => array(
          'delete',
        ),
      ),
    ),
  );
}