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.
The TruncateHTML class has properties which are unnecessarily public and methods which are unnecessarily private. Let's just make everything protected. That means anything that extends the class has access - which seems nice in an open source world - but it's internal variables are not exposed.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2717471-2.patch | 2.45 KB | alexpott |
Comments
Comment #2
alexpottComment #4
markie CreditAttribution: markie at Mediacurrent commentedPatch looks good and tested. Went ahead and committed. Thanks for taking care of this.