Model Entities: http://drupal.org/project/model
I've been trying to use this contrib module to create my own entity (the "client" entity). Steps I've undertaken:
- Search and replaced "model" with "client", "Model" with "Client".
- Upon enabling the module, the "client type" appears in "admin/structure", and I create a "client type" from the UI.
- Go to "admin/content/clients" and added a new client, but the new "client" entity does not appear.
So far debugging has gotten me this far:
- The database is being populated correctly - so the creating functions (and rest of CRUD - tested via direct calling) is working.
- I checked entity_load('client') and it's loading the client entities properly as well.
So I suspected it's something to do with the custom "views" that the module is implementing. And indeed, it did not register the custom view properly since it did not appear in "admin/structure/views".
I can't seem to pin-point the error here. Any idea why the view isn't registering?