You are here

function entityform_type_handler_submit_link_field::options_form in Entityform 7.2

Same name and namespace in other branches
  1. 7 views/entityform_type_handler_submit_link_field.inc \entityform_type_handler_submit_link_field::options_form()

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

Overrides views_handler_field::options_form

File

views/entityform_type_handler_submit_link_field.inc, line 25
Contains a Views field handler to take care of displaying submit links as fields

Class

entityform_type_handler_submit_link_field
@file Contains a Views field handler to take care of displaying submit links as fields

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['text'] = array(
    '#type' => 'textfield',
    '#title' => t('Text to display'),
    '#default_value' => $this->options['text'],
  );
}