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.
Currently the uuidKey is being set in the constructor. As this is hardcoded for all config entities, it makes sense to move this out of the constructor. It can be overridden in extending classes without doing this in the constructor.
Comment | File | Size | Author |
---|---|---|---|
#5 | config-1756862-3.patch | 1023 bytes | xjm |
#5 | interdiff-1756862.txt | 602 bytes | xjm |
config-entity-uuid-property.patch | 1.05 KB | damiankloip | |
Comments
Comment #1
tim.plunkettThis makes more sense, and follows the convention used in other classes, especially tests.
Comment #2
tim.plunketttagging
Comment #5
xjmThe docblock for the property wasn't quite accurate (and also should have been one line). Fixed here.
Comment #6
catchYes that's better. Committed/pushed to 8.x.