You are here

function commerce_pricelist_item_info_page in Commerce Pricelist 7

Basic information for the page.

File

includes/commerce_pricelist.admin.inc, line 549
Summary

Code

function commerce_pricelist_item_info_page() {
  $content['preface'] = array(
    '#type' => 'item',
    '#markup' => t('The entity example provides a simple example entity.'),
  );
  if (user_access('administer commerce_pricelist_list entities')) {
    $content['preface']['#markup'] = t('You can administer these and add fields and change the view !link.', array(
      '!link' => l(t('here'), 'admin/commerce/pricelist/commerce_pricelist_item/manage'),
    ));
  }
  $content['table'] = commerce_pricelist_item_list_entities();
  return $content;
}