You are here

function commerce_order_handler_area_empty_text::options_form in Commerce Core 7

Default options form that provides the label widget that all fields should have.

Overrides views_handler_area::options_form

File

modules/order/includes/views/handlers/commerce_order_handler_area_empty_text.inc, line 17

Class

commerce_order_handler_area_empty_text
Area handler to display the empty text message for orders.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['add_path'] = array(
    '#type' => 'textfield',
    '#title' => t('Path to an order creation form'),
    '#description' => t('Provide the path to an order creation form to link to in the empty message. If blank, no link will be included.'),
    '#default_value' => $this->options['add_path'],
  );
}