Same name and namespace in other branches
- 8.x-2.x field_states_ui.module \field_states_ui_field_widget_third_party_settings_form()
Implements hook_field_widget_third_party_settings_form().
File
-
./
field_states_ui.module, line 15
Code
function field_states_ui_field_widget_third_party_settings_form(WidgetInterface $plugin, FieldDefinitionInterface $field_definition, $form_mode, $form, FormStateInterface $form_state) {
$form_state->loadInclude('field_states_ui', 'inc', 'field_states_ui.admin');
return field_states_ui_settings_form($plugin, $field_definition, $form_mode, $form, $form_state);
}