0

Is it possible to define your own entity type so that a call to entity_get_info() returns your new type?

1 Answer 1

0

I found it. You use the hook_entity_info() hook.

https://www.drupal.org/node/1026420

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.