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.
Problem/Motivation
#2824655: Plugin definitions should store their class in a consistent manner (without leading slashes) made all plugin definitions store their class in a consistent manner, without a leading slash.
That way when compared to the ::class constant, it would match.
This was a change that needed no updates to any plugin types except TypedConfigManager, so a workaround was added
Proposed resolution
Remove the workaround
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2851600-tcm-2.patch | 9.96 KB | tim.plunkett |
Comments
Comment #2
tim.plunkettTurns out it was easier than I thought before, could have been part of that issue.
AFAICS it's just this one test.
Comment #3
jibranThere are unneeded changes in test file but It is assuring to see that we have test coverage for this.
Comment #4
tim.plunkettThe switch to ::class is needed, or at least removing the leading slash from the string. Same thing
Comment #7
effulgentsia CreditAttribution: effulgentsia at Acquia commentedThanks! Pushed to 8.4.x and cherry picked to 8.3.x. Also added this as a referenced issue in the existing CR.