function socialfield_property_callback_property_info_callback in Social field 7
Field property info callback.
1 string reference to 'socialfield_property_callback_property_info_callback'
- socialfield_field_info in ./
socialfield.module - Implements hook_field_info().
File
- ./
socialfield.module, line 304 - Provides a field for adding social services links.
Code
function socialfield_property_callback_property_info_callback(&$info, $entity_type, $field, $instance, $field_type) {
$name = $field['field_name'];
$property =& $info[$entity_type]['bundles'][$instance['bundle']]['properties'][$name];
$property['type'] = 'socialfield';
$property['getter callback'] = 'entity_metadata_field_verbatim_get';
$property['setter callback'] = 'entity_metadata_field_verbatim_set';
unset($property['query callback']);
}