function geofield_rules_action_info in Geofield 7.2
Implements hook_rules_action_info().
File
- ./
geofield.rules.inc, line 6
Code
function geofield_rules_action_info() {
return array(
'geofield_create_values' => array(
'base' => 'geofield_rules_create_values',
'label' => t('Create geofield values from lat/lon'),
'group' => t('Geofield'),
'parameter' => array(
'lat' => array(
'type' => 'decimal',
'label' => t('Latitude'),
),
'lon' => array(
'type' => 'decimal',
'label' => t('Longitude'),
),
),
'provides' => array(
'geofield' => array(
'label' => t('Geofield value'),
'type' => 'geofield',
),
),
),
);
}