function panopoly_magic_form_ctools_entity_field_content_type_formatter_styles_alter in Panopoly Magic 7
File
- ./
panopoly_magic.module, line 1343
Code
function panopoly_magic_form_ctools_entity_field_content_type_formatter_styles_alter(&$form, &$form_state, $form_id) {
// Push the panopoly magic submitter onto the front of the submit array.
// We need it at the beginning so the entity is saved before the IPE
// reloads pane content.
if (!empty($form_state['entity'])) {
$form['#submit'][] = 'panopoly_magic_fape_submit';
}
}