GenericEntityCRUDController

Component ID

1289524

Component name

GenericEntityCRUDController

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

NOTE: Untested, has no tests, and is generally untested without any tests. :-)

Fills some of the gaps in Drupal 7's entity CRUD implementation. Turns DrupalDefaultEntityController into a much better factory for entities. Exposes create, save/update, and delete, and lets you define your own hook API.

Uses NealB's entity example as a starting point, refactors lots of code from node.module, and was inspired by this issue: #893842: Entity example module.