function dynamic_entity_reference_field_info in Dynamic Entity Reference 7
Implements hook_field_info().
File
- ./
dynamic_entity_reference.field.inc, line 11 - Contains field hooks.
Code
function dynamic_entity_reference_field_info() {
$return = array();
$return['dynamic_entity_reference'] = array(
'label' => t('Dynamic Entity Reference'),
'description' => t('An entity field containing a dynamic entity reference.'),
'settings' => array(
'exclude_entity_types' => TRUE,
'entity_type_ids' => array(),
),
'instance_settings' => array(
'handler' => 'default',
),
'default_widget' => 'dynamic_entity_reference_default',
'default_formatter' => 'dynamic_entity_reference_default',
'property_callbacks' => array(
'dynamic_entity_reference_field_property_callback',
),
);
return $return;
}