You are here

function domain_entity_field_info in Domain Access Entity 7

Implements hook_field_info().

File

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

Code

function domain_entity_field_info() {
  return array(
    'domain_entity' => array(
      'label' => t('Domain'),
      'description' => t("This field stores the domain ID's."),
      'settings' => array(),
      'instance_settings' => array(),
      'default_widget' => DOMAIN_ENTITY_BEHAVIOR_AUTO,
      'default_formatter' => 'hidden',
      'property_type' => 'domain_entity',
      'property_callbacks' => array(
        'domain_entity_property_info_callback',
      ),
    ),
  );
}