sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Update the entity reference field so that it returns the proper instance of the Entity class. #37

Open sammarks opened 9 years ago

sammarks commented 9 years ago

Whenever there is an entity reference, it should return AbleCore\Node for nodes, AbleCore\User for users and so forth. This will allow access to extra helper functions.

We'll probably need a factory for entity types. Might even want to save this until the next version of Able Core.