function field_entity_bundle_create

Implements hook_entity_bundle_create().

Related topics

File

drupal/core/modules/field/field.attach.inc, line 1547
Field attach API, allowing entities (nodes, users, ...) to be 'fieldable'.

Code

function field_entity_bundle_create($entity_type, $bundle) {

  // Clear the cache.
  field_cache_clear();
}