function focal_point_form_file_entity_edit_alter in Focal Point 7
Implements hook_form_FORM_ID_alter().
File
- ./
focal_point.module, line 153
Code
function focal_point_form_file_entity_edit_alter(&$form, &$form_state) {
// Make sure we have an entity to work with.
if (!isset($form_state['file'])) {
return;
}
_focal_point_form_append_focal_point_preview($form, $form_state['file']);
}