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.
This is a follow-up to #1863290: poll_node_info has D6 attribute 'has_body'. The content type definition in DrupalWebTestCase::drupalCreateContentType() contains two node attributes that were removed in D7: 'has_body' and 'body_label'. These two attributes should be completely unused and safe to remove.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2483025-remove-has_body-body_label-1.patch | 538 bytes | joshi.rohit100 |
Comments
Comment #1
joshi.rohit100Done.
Comment #2
dcam CreditAttribution: dcam commentedThanks, @joshi.rohit100!
This looks good to me. There are no more deprecated properties in the drupalCreateContentType() content type defaults array. I also didn't find any other instances of those properties outside of update functions and D6 upgrade path test test files.
Comment #3
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedCommitted to 7.x - thanks!