Part of #3641170: [meta] Call parent constructor instead of duplicating property assignment.
Problem/Motivation
#3635402: Promote remaining properties in constructors and add @param docs where needed flagged up that we have several classes in core where instead of calling the parent constructor, the class assigns the property itself. For property promotion, it would be better to call the parent constructor (which can then do property promotion). This will also make it easier to handle adding readonly.
Proposed resolution
In this issue, fix instances where the property is defined in the same class.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3641781
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mondrakeComment #3
mondrakeComment #4
mondrakeComment #6
mondrakeComment #7
mondrakeUhm test failures seem legit. On that
Comment #8
mondrake