From ba7b4570eae6afbe2e7c6d449c282a3de020e5da Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Tue, 8 Jan 2013 16:19:14 -0800 Subject: [PATCH] Issue #1879214 by swentel, Berdir: Fix param docs for hook_field_attach_create_bundle --- core/modules/field/field.api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/field/field.api.php b/core/modules/field/field.api.php index c71836bca8cc..27304f48a8c9 100644 --- a/core/modules/field/field.api.php +++ b/core/modules/field/field.api.php @@ -1157,10 +1157,10 @@ function hook_field_available_languages_alter(&$langcodes, $context) { * * This hook is invoked after the field module has performed the operation. * - * @param $entity_type + * @param string $entity_type * The type of $entity; e.g. 'node' or 'user'. - * @param $entity - * the entity with fields to process. + * @param string $bundle + * The name of the bundle. */ function hook_field_attach_create_bundle($entity_type, $bundle) { // When a new bundle is created, the menu needs to be rebuilt to add the