function command_buttons_handler_field_bundle::options_form in Command Buttons 7
Provide machine_name option for to node type display.
Overrides views_handler_field::options_form
File
- plugins/
views/ command_buttons_handler_field_bundle.inc, line 22 - Provide views handlers for Open Atrium Button fields
Class
- command_buttons_handler_field_bundle
- Field handler to translate a bundle type into its readable form.
Code
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 the bundle machine name.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['machine_name']),
'#fieldset' => 'more',
);
}