You are here

function quickedit_field_edit_form_submit in Quick Edit 7

Form submission handler for quickedit_field_edit_form().

See also

quickedit_field_edit_form()

quickedit_field_edit_form_validate()

quickedit_field_edit()

\Drupal\quickedit\Form\EditFieldForm::submit() in Drupal 8.

1 string reference to 'quickedit_field_edit_form_submit'
quickedit_field_edit_form in includes/fape.inc
Form constructor; in-place editing form for a (single) Field API field.

File

includes/fape.inc, line 64
This is now effectively a light-weight duplicate of FAPE.module, providing just the parts Quick Edit needs.

Code

function quickedit_field_edit_form_submit(&$form, &$form_state) {
  $entity = _quickedit_build_entity($form, $form_state);
  _quickedit_entity_save_to_tempstore($form_state['entity_type'], $form_state['entity_id'], $entity);
}