You are here

function invite_block_info in Invite 7.4

Same name and namespace in other branches
  1. 7.2 invite.module \invite_block_info()

Implements hook_block_info().

File

./invite.module, line 104

Code

function invite_block_info() {
  $blocks = array();
  foreach (invite_get_types() as $type => $info) {
    $blocks['invite_add_' . $type] = array(
      'info' => t('Create invite @type.', array(
        '@type' => $info->label,
      )),
    );
  }
  return $blocks;
}