You are here

function fape_field_edit_form_submit in Field API Pane Editor (FAPE) 7

General submit callback. Simply handles the revision.

1 string reference to 'fape_field_edit_form_submit'
fape_field_edit_form in ./fape.module
Field editing form.

File

./fape.module, line 430
Adds direct field editing via contextual links.

Code

function fape_field_edit_form_submit($form, &$form_state) {
  $entity = $form_state['entity'];
  if (!empty($form_state['use revisions'])) {
    $entity->revision = $form_state['values']['revision'];
    $entity->log = $form_state['values']['log'];
  }
}