function views_handler_field_machine_name::options_form

Overrides views_handler_field::options_form

File

handlers/views_handler_field_machine_name.inc, line 61

Class

views_handler_field_machine_name
Field handler whichs allows to show machine name content as human name.

Code

public function options_form(&$form, &$form_state) {
    parent::options_form($form, $form_state);
    $form['machine_name'] = array(
        '#title' => t('Output machine name'),
        '#description' => t('Display field as machine name.'),
        '#type' => 'checkbox',
        '#default_value' => !empty($this->options['machine_name']),
    );
}