You are here

function domain_entity_field_data_property_info in Domain Access Entity 7

Defines info for the properties of the domain_entity field data structure.

1 call to domain_entity_field_data_property_info()
domain_entity_property_info_callback in ./domain_entity.module
Callback to alter the property info of domain fields.

File

./domain_entity.module, line 677
Defines field (e.g. domain_entity) for entities, and access query alter.

Code

function domain_entity_field_data_property_info($name = NULL) {
  return array(
    'domain_id' => array(
      'label' => t('Domain ID'),
      'description' => !empty($name) ? t('Domain ID value of field %name', array(
        '%name' => $name,
      )) : '',
      'type' => 'int',
      'getter callback' => 'entity_property_verbatim_get',
      'setter callback' => 'entity_property_verbatim_set',
    ),
  );
}