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.
Field.test contains:
$field_definition['field_name'] += '_#';
instead of
$field_definition['field_name'] .= '_#';
Discovered while working on #295864: SimpleTest: Change randomName() method to randomString().
Comment | File | Size | Author |
---|---|---|---|
#1 | 446878-field.test.patch | 625 bytes | boombatower |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedComment #2
chx CreditAttribution: chx commentedWow, that's a nice catch. Someone confused PHP with JS and then PHP licked it up because it's not typed at all and the result is junk. Nice!
Comment #3
webchickCommitted, thanks! :)