You are here

function commerce_addressbook_admin_settings in Commerce Addressbook 7

@file Renders administrative pages for Commerce Addressbook module

1 string reference to 'commerce_addressbook_admin_settings'
commerce_addressbook_menu in ./commerce_addressbook.module
Implementation of hook_menu().

File

./commerce_addressbook.admin.inc, line 8
Renders administrative pages for Commerce Addressbook module

Code

function commerce_addressbook_admin_settings() {
  $form = array();
  $form['commerce_addressbook_auto_prefill'] = array(
    '#type' => 'checkbox',
    '#title' => t('Automatically prefill fields on checkout form with the latest saved customer profile info'),
    '#default_value' => variable_get('commerce_addressbook_auto_prefill', FALSE),
  );
  return system_settings_form($form);
}