You are here

function stripe_customer_viewshandler::options_form in Stripe 7

Provide link to the Customer Admin page by default.

Overrides views_handler_field_url::options_form

File

stripe_customer/views/handlers/stripe_customer_viewshandler.inc, line 26
Contains stripe_customer_viewshandler.

Class

stripe_customer_viewshandler
Provides a Views handler to link a Stripe Customer ID.

Code

function options_form(&$form, &$form_state) {
  $form['display_as_link'] = array(
    '#title' => t('Display as admin link'),
    '#type' => 'checkbox',
    '#default_value' => !empty($this->options['display_as_link']),
  );
  parent::options_form($form, $form_state);
}