Closed laryn closed 2 years ago
From @herbdool in another thread:
I noticed https://github.com/backdrop-contrib/paragraphs/blob/769e1db92419cfee145a80ee1e573c0f5a14cd00/ParagraphsItemEntity.inc#L570 which is calling a view method but it's not in core yet and it doesn't check that it's using EntityPlusControllerInterface. Maybe have it like https://github.com/backdrop-contrib/entity_plus/blob/489b908ea54ebefc1ce966971c6af09c5e51a0c6/entity_plus.module#L371. Not sure what would happen otherwise, if/when we add this to core and if the parameters are different.
I noticed https://github.com/backdrop-contrib/paragraphs/blob/769e1db92419cfee145a80ee1e573c0f5a14cd00/ParagraphsItemEntity.inc#L570 which is calling a view method but it's not in core yet and it doesn't check that it's using EntityPlusControllerInterface.
view
EntityPlusControllerInterface
Maybe have it like https://github.com/backdrop-contrib/entity_plus/blob/489b908ea54ebefc1ce966971c6af09c5e51a0c6/entity_plus.module#L371.
Not sure what would happen otherwise, if/when we add this to core and if the parameters are different.
@herbdool This should do it, right? https://github.com/backdrop-contrib/paragraphs/pull/112
@laryn I think so.
Then down the line you can decide whether to continue using entity_plus for this or use core.
From @herbdool in another thread: