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.
For classes that extend plugin the id is a read-only variable through Plugin::getId()
defining an id variable is both redundant and buggy
Currently DevelGenerate::id and DevelDumper::id are both incorrectly writable.
Core make this mistake alot ( 34 cases at the last count ) I am trying to fix that here.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2917472-2.patch | 1005 bytes | martin107 |
|
Comments
Comment #2
martin107 CreditAttribution: martin107 as a volunteer commentedNow I have an issue number here is the patch.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commented