function commerce_customer_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/
customer/ includes/ views/ handlers/ commerce_customer_handler_area_empty_text.inc, line 17
Class
- commerce_customer_handler_area_empty_text
- Area handler to display the empty text message for customer profiles.
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['add_path'] = array(
'#type' => 'textfield',
'#title' => t('Path to a customer profile add form'),
'#description' => t('Provide the path to a customer profile add form to link to in the empty message. If blank, no link will be included.'),
'#default_value' => $this->options['add_path'],
);
}