Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Super-trivial :)
Comment | File | Size | Author |
---|---|---|---|
#7 | fixed-param-1879200-7.patch | 738 bytes | swentel |
#4 | fixed-param-1879200-4.patch | 617 bytes | swentel |
fixed-param-1879200-1.patch | 511 bytes | Berdir | |
Comments
Comment #1
BerdirComment #2
swentel CreditAttribution: swentel commentedShould be something like 'The name of the bundle' :)
Comment #3
swentel CreditAttribution: swentel commentedCross post
Comment #4
swentel CreditAttribution: swentel commentedUpdated
Comment #5
BerdirOh, right :) Looks good.
Comment #6
webchickMoving to the docs component, and these days we need a datatype on @params and @returns.
Comment #7
swentel CreditAttribution: swentel commentedComment #8
BerdirGood :)
Comment #9
jhodgdonThanks! I'll get that committed shortly.
Comment #10
jhodgdonCommitted to 8.x. Does this need a port to 7.x? If not, please change back to 8.x/fixed. Thanks!
Comment #11
lyricnz CreditAttribution: lyricnz commentedIn D7 field.api.php hook_field_attach_create_bundle() actually says "See field_attach_create_bundle() for details and arguments.". In field_attach_create_bundle() it is correctly referred to as "$bundle" in the comments: