backdrop-contrib / og

The Organic Groups module provides users the ability to create, manage, and delete 'groups' on a site.
GNU General Public License v2.0
1 stars 8 forks source link

Find replacement for hook_entity_property_info() #59

Closed indigoxela closed 2 years ago

indigoxela commented 2 years ago

Seems to play an important role re membership info for group content.

https://github.com/backdrop-contrib/og/blob/1.x-2.x/og.module#L193

No such hook in Backdrop, neither in core nor in entity_plus.

FTR: https://www.drupal.org/docs/7/api/entity-api/entity-property-information

argiepiano commented 2 years ago

This hook does exist in Entity Plus. It's invoked in this line of Entity Plus.

It'd be helpful to know the nature of the errors related to this hook.

indigoxela commented 2 years ago

This hook does exist in Entity Plus.

Yes it does! How did I miss that? So this should actually work without any changes to code in og.

Lots of things happened recently, so possibly this whole issue is obsolete. To make sure, I'd suggest to wait for the latest PR to get merged and revisit the remaining problems. Just to verify, this issue can get closed with "works as designed".

laryn commented 2 years ago

Just to verify, this issue can get closed with "works as designed".

Okay, done! Reopen if needed...