You are here

function uc_field_attribute_menu in Ubercart Field attributes 7

@file uc_field_attribute.module Ubercart attributes an options based on Drupal core fields

(C)2011 Michael Moritz miiimooo/at/drupal.org http://drupal.org/user/62954

File

./uc_field_attribute.module, line 9
uc_field_attribute.module Ubercart attributes an options based on Drupal core fields

Code

function uc_field_attribute_menu() {

  // Menu items for default product class attributes and options.
  $items['admin/store/products/classes/%uc_product_class/field-attribute'] = array(
    'title' => 'Field Attributes',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'uc_field_attribute_form',
      4,
      'class',
    ),
    'access callback' => 'uc_attribute_product_class_access',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
    'file' => 'uc_field_attribute.admin.inc',
  );
  return $items;
}