You are here

function basic_cart_permission in Basic cart 7

Same name and namespace in other branches
  1. 7.3 basic_cart.module \basic_cart_permission()
  2. 7.2 basic_cart.module \basic_cart_permission()

Implements hook_permission().

File

./basic_cart.module, line 11
Basic cart module file.

Code

function basic_cart_permission() {
  return array(
    'administer basic cart' => array(
      'title' => t('Administer basic cart'),
      'description' => t('Perform administration tasks for basic cart.'),
    ),
    'use basic cart' => array(
      'title' => t('Use basic cart'),
      'description' => t('Use basic cart (add to cart, remove from cart, checkout).'),
    ),
  );
}