function quickedit_field_edit_form_validate in Quick Edit 7
Form validation handler for quickedit_field_edit_form().
See also
quickedit_field_edit_form_submit()
\Drupal\quickedit\Form\EditFieldForm::validate() in Drupal 8.
1 string reference to 'quickedit_field_edit_form_validate'
- 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 51 - This is now effectively a light-weight duplicate of FAPE.module, providing just the parts Quick Edit needs.
Code
function quickedit_field_edit_form_validate($form, &$form_state) {
$entity = _quickedit_build_entity($form, $form_state);
field_attach_form_validate($form_state['entity_type'], $entity, $form, $form_state, array(
'field_name' => $form_state['field_name'],
));
}