public function fieldable_panels_panes_handler_field_bundle::options_form in Fieldable Panels Panes (FPP) 7
Default options form provides the label widget that all fields should have.
Overrides views_handler_field::options_form
File
- plugins/
views/ fieldable_panels_panes_handler_field_bundle.inc, line 26 - Provide views handlers for fieldable panel panes fields.
Class
- fieldable_panels_panes_handler_field_bundle
- Field handler to translate a node type into its readable form.
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 the bundle machine name.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['machine_name']),
'#fieldset' => 'more',
);
}