The module code requires host entities to have a callable getType() method which is something common for node entities but not for any entity type (eg. commerce product entities). Instead the bundle() method should be used.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | module_expects_host_entity_to_implement_nodeinterface-3175367-1.patch | 482 bytes | vensires |
Comments
Comment #2
vensiresComment #3
zekvyrin commentedThat seems correct, thank you @vensires. I'll try to test it and commit it soon
Comment #5
zekvyrin commentedCommited. Will prepare a release as well. Thank you @vensires
Comment #6
zekvyrin commented