You are here

function _uc_catalog_block_summarize in Ubercart 6.2

Summarizes the catalog's block settings.

This function lets the summarizer do most of the work, only taking advantage of the callback to insert a parent node, specifying that the following settings are block settings, for visual clarity.

Parameters

$form: The form passed from the summarizer.

Return value

An array of summary information.

1 string reference to '_uc_catalog_block_summarize'
uc_catalog_settings_form in uc_catalog/uc_catalog.admin.inc
Catalog settings form.

File

uc_catalog/uc_catalog.module, line 793
Ubercart Catalog module.

Code

function _uc_catalog_block_summarize($form) {
  $item = summarize_form($form);
  $items[] = array(
    'data' => t('Block settings:'),
    'children' => $item,
  );
  return $items;
}