You are here

function dc_ajax_add_cart_block_info in Commerce Ajax Add to Cart 7

Same name and namespace in other branches
  1. 7.2 dc_ajax_add_cart.module \dc_ajax_add_cart_block_info()

Implements hook_block_info().

File

./dc_ajax_add_cart.module, line 272
Ajax add to cart module.

Code

function dc_ajax_add_cart_block_info() {
  $blocks['ajax_shopping_cart'] = array(
    'info' => t('AJAX shopping cart'),
    'cache' => DRUPAL_NO_CACHE,
  );
  $blocks['ajax_shopping_cart_teaser'] = array(
    'info' => t('AJAX shopping cart teaser'),
    'cache' => DRUPAL_NO_CACHE,
  );
  return $blocks;
}