geocode/includes/modules/imagefield.inc, line 5
- Versions
- 6
imagefield_geocode_handler_info()
Implementation of hook_geocode_handler_info() on behalf of imagefield.
Code
<?php
function imagefield_geocode_handler_info() {
$handlers = array();
// This functionality requires PHP's exif module
if (function_exists('exif_read_data')) {
$handlers['geocode_imagefield'] = array(
'title' => t('Image field'),
'module' => 'geocode',
'file' => 'imagefield.inc',
'file path' => drupal_get_path('module', 'geocode') .'/includes/modules',
'return types' => array(
'geo' => array('point'),
),
'field types' => array('image', 'filefield'),
);
}
return $handlers;
}
?> 