You are here

function commerce_popup_cart_block_info in Commerce Popup Cart 7

Implements hook_block_info().

File

./commerce_popup_cart.module, line 32

Code

function commerce_popup_cart_block_info() {
  $blocks = array();

  // Define the basic shopping cart block and hide it on the checkout pages.
  $blocks['commerce_popup_cart'] = array(
    'info' => t('Popup Shopping cart'),
    'cache' => DRUPAL_NO_CACHE,
    'visibility' => 0,
  );
  return $blocks;
}