Implements hook_form_alter().
File
-
exif_location/
exif_location.module, line 43
Code
function exif_location_form_alter(&$form, $form_state, $form_id) {
// @todo Is this function still needed?
return;
// Remove the location element from the node form.
if (isset($form['#node']) && $form['#node']->type == 'image' && $form_id == $form['#node']->type . '_node_form') {
$form['locations']['#access'] = FALSE;
}
}