function date_repeat_entity_preview_handler in Date Repeat Entity 7.2
Same name and namespace in other branches
- 7 date_repeat_entity.module \date_repeat_entity_preview_handler()
Submit handler for the 'preview' action.
Parameters
array $form: represents the form and its underlying data schema
array $form_state: represents the current state of the form
1 string reference to 'date_repeat_entity_preview_handler'
- date_repeat_entity_field_attach_form in ./
date_repeat_entity.module - Implements hook_field_attach_form().
File
- ./
date_repeat_entity.module, line 285 - Adds functionality to entities with repeating date fields
Code
function date_repeat_entity_preview_handler($form, &$form_state) {
// Reset node confirmation action.
if (isset($form_state['node_confirmation_action'])) {
unset($form_state['node_confirmation_action']);
}
}