diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-30 03:44:55 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-30 03:44:55 +0000 |
commit | fbabc0d98553d136f54073dc1624310bd07e11dc (patch) | |
tree | fdafeda88d090a9ad65d851b007688f8c4dd7d42 /modules/field/field.crud.inc | |
parent | 28aaa036e471a5d96be3938545c49e2dc71e342e (diff) | |
download | brdo-fbabc0d98553d136f54073dc1624310bd07e11dc.tar.gz brdo-fbabc0d98553d136f54073dc1624310bd07e11dc.tar.bz2 |
#368674 by bjaspan, Eaton, chx, and yched: Provide hooks to allow hybrid field/bundle-level storage for fields in core.
Diffstat (limited to 'modules/field/field.crud.inc')
-rw-r--r-- | modules/field/field.crud.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index 93f24bf56..b96dbfb4b 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -346,10 +346,12 @@ function field_create_instance($instance) { _field_write_instance($instance); - module_invoke_all('field_create_instance', $instance); - // Clear caches field_cache_clear(); + + // Invoke external hooks after the cache is cleared for API consistency. + module_invoke_all('field_create_instance', $instance); + return FALSE; } |