You are here

function commerce_wishlist_block_info in Commerce Wishlist 7.3

Same name and namespace in other branches
  1. 7.2 commerce_wishlist.module \commerce_wishlist_block_info()

Implements hook_block_info().

File

./commerce_wishlist.module, line 389
Provides a wish list for use in Drupal Commerce.

Code

function commerce_wishlist_block_info() {
  $blocks['share'] = array(
    'info' => t('Share Wishlist'),
    'visibility' => BLOCK_VISIBILITY_LISTED,
    'region' => 'sidebar_first',
    'status' => TRUE,
    'pages' => 'user/*/wishlist',
  );
  return $blocks;
}