You are here

public function WorkflowDefaultWidget::settingsForm in Workflow 7

Same name and namespace in other branches
  1. 7.2 includes/Field/WorkflowDefaultWidget.php \WorkflowDefaultWidget::settingsForm()

Implements hook_field_widget_settings_form() --> WidgetInterface::settingsForm().

The Widget Instance has no settings. To have a uniform UX, all settings are done on the Field level.

File

includes/Field/WorkflowDefaultWidget.php, line 48
Contains workflow\includes\Field\WorkflowDefaultWidget.

Class

WorkflowDefaultWidget
Plugin implementation of the 'workflow_default' widget. @todo D8: Replace "extends WorkflowD7WidgetBase" by "extends WidgetBase" or perhaps by "extends OptionsWidgetBase" from Options module.

Code

public function settingsForm(array $form, array &$form_state, $has_data) {
  $element = array();
  return $element;
}