diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-26 09:18:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-26 09:18:20 +0000 |
commit | 8e50687d8b69a07ddbacf65d6c7785a37bb41ab1 (patch) | |
tree | 913a07dd9459aae1fcad8a24e71afddfa417c43d /modules/field/field.api.php | |
parent | 1c076bc89f7a7374859e025c99f2eb5ea092188e (diff) | |
download | brdo-8e50687d8b69a07ddbacf65d6c7785a37bb41ab1.tar.gz brdo-8e50687d8b69a07ddbacf65d6c7785a37bb41ab1.tar.bz2 |
- Patch #441180 by bjaspan, yched: field_attach_delete_bundle() called hook_field_attach_delete_bundle too soon.
Diffstat (limited to 'modules/field/field.api.php')
-rw-r--r-- | modules/field/field.api.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php index 2a1c4197b..f2da46c45 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -614,9 +614,13 @@ function hook_field_rename_bundle($bundle_old, $bundle_new) { * * This hook is invoked after the field module has performed the operation. * - * See field_attach_delete_bundle() for details and arguments. + * @param $bundle + * The bundle that was just deleted. + * @param $instances + * An array of all instances that existed for $bundle before it was + * deleted. */ -function hook_field_attach_delete_bundle($bundle) { +function hook_field_attach_delete_bundle($bundle, $instances) { } /** |