Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
rest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2013 at 13:04 UTC
Updated:
29 Jul 2014 at 22:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
klausiTo load views? ;-)
Otherwise looks good to me. Note that this will collide with #2011122: Replace drupal_container() with injected services in the rest module, so whatever gets commited first somebody will need to re-roll.
Comment #2
damiankloip commentedHehe, oops :)
Comment #3
klausiCool, assuming the testbot is happy, too.
Comment #4
alexpottMissing @var docblock and protection afaics.
Comment #5
damiankloip commentedYep, totally right!
I have rolled back the conversion to default plugin manager too, as I think something got in to change this to use ReflectionFactory instead?
Comment #7
klausiI think we should ignore $base_plugin_id as we don't use it all in this class and it just bloats the code.
Comment #8
damiankloip commentedok, I don;t mind either way :) New patch, no base_plugin_id.
Comment #9
klausiHard-coding the EntityManager class all over the place worries me, we should use an EntityManagerInterface for that. Otherwise the plugin.manager.entity service cannot really be swapped by contributed modules, which is bad. But that is a different issue (which might not even exist yet?), the other changes look good.
Comment #11
damiankloip commentedMeh, sorry.
Comment #12
jibranBack to RTBC
Comment #13
alexpottNeeds a reroll
Comment #14
damiankloip commentedNow that ResourcePluginManager is using DefaultPluginManager, we can just remove that part of the patch. We only need to touch the EntityDerivative class.
Comment #15
klausiStill looks good, back to RTBC.
Comment #16
alexpottCommitted 6fa0fe8 and pushed to 8.x. Thanks!