You are here

function entity_field_create_instance in Entity API 7

Implements hook_field_create_instance(). Clear the cache when a field instance changed.

File

includes/entity.property.inc, line 209
Provides API functions around hook_entity_property_info(). Also see entity.info.inc, which cares for providing entity property info for all core entity types.

Code

function entity_field_create_instance() {
  entity_property_info_cache_clear();
}