function quickedit_field_node_title_edit_form_submit in Quick Edit 7
Form submission handler for quickedit_field_node_title_edit_form().
See also
quickedit_field_node_title_edit_form()
1 string reference to 'quickedit_field_node_title_edit_form_submit'
- quickedit_field_node_title_edit_form in includes/
node.inc - Form constructor; in-place editing form for node's 'title' "extra field".
File
- includes/
node.inc, line 208 - Implements Quick Edit module hooks on behalf of node.module.
Code
function quickedit_field_node_title_edit_form_submit($form, &$form_state) {
$entity = $form_state['entity'];
$entity->title = $form_state['values']['title'];
// We must load fape.inc to use _quickedit_entity_set_log().
module_load_include('inc', 'quickedit', 'includes/fape');
_quickedit_entity_set_log($entity, t('Title'));
_quickedit_entity_save_to_tempstore($form_state['entity_type'], $form_state['entity_id'], $entity);
}