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.
Updated: Comment #0
Problem/Motivation
There's a some type-hinting errors and typos
Proposed resolution
Use proper type-hinting
User interface changes
no
API changes
no
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff.txt | 1.75 KB | andypost |
#4 | drupal8.comment-module.2078139-4.patch | 5.06 KB | andypost |
#2 | interdiff.txt | 846 bytes | andypost |
#2 | drupal8.comment-module.2078139-2.patch | 4.3 KB | andypost |
#1 | drupal8.comment-module.2078139-1.patch | 4.08 KB | andypost |
Comments
Comment #1
andypostAt least that's enough
Comment #2
andypostAnd another few places
Comment #3
larowlanIf we made this $entity here, and removed references to nodes, would that make comment-field tests for other than node easier?
Other than that, looks good to me.
Comment #4
andypostDone
Comment #5
larowlanStill refs node in comments?
Comment #6
larowlanOn second thoughts, referencing other than nodes is premature
Comment #7
webchickLooks good. There are some API changes here, but they only bring this class more in-line with what we do elsewhere, and shouldn't break any existing code.
Committed and pushed to 8.x. Thanks!