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.
Comment | File | Size | Author |
---|---|---|---|
#4 | plugin-2112575-4.patch | 29.22 KB | tim.plunkett |
#4 | interdiff.txt | 1021 bytes | tim.plunkett |
#2 | derivative-2112575-2.patch | 28.37 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettComment #2
tim.plunkettCopied the methods straight from PluginBase, and updated all derivatives.
Comment #4
tim.plunkettDrupal\rest\Plugin\Derivative\EntityDerivative had an extraneous layer of static caching that broke when combined with the base class
Interdiff made with -w
Comment #5
neclimdulAsked tim about these. These classes implemented the interface and didn't extend the Component base class so had copied the implementation. Use the base class implementation now.
+1
This one is a little different. I don't know if bypassing the local cache is on purpose or not.
Overall, big +1!
Comment #6
dawehnerThese titles will be translated again later, so let's remove them here.
Comment #7
XanoThis is no longer needed now we have
StringTranslationTrait
.