You are here

function commerce_node_checkout_expire_field_node_relist_form::options_form in Commerce Node Checkout 7

Implements parent::option_form().

Overrides views_handler_field::options_form

File

commerce_node_checkout_expire/includes/views/handlers/commerce_node_checkout_expire_field_node_relist_form.inc, line 34
Contains the field handler for the node relist form.

Class

commerce_node_checkout_expire_field_node_relist_form
Views field handler for the node relist form.

Code

function options_form(&$form, &$form_state) {
  $form['cart_link_text'] = array(
    '#type' => 'textfield',
    '#title' => t('Shopping cart link text'),
    '#default_value' => $this->options['cart_link_text'],
    '#description' => t('If this node is already in the shopping cart, instead of the form appearing, a link to the shopping cart will. Omitting this text will make nothing appear.'),
  );
  parent::options_form($form, $form_state);
}