Unlike Drupal 8, Drupal 7 has not validation for entity objects what so ever. One of your modules can create a node object without any title or a language and you don't want that.
Similar to the Restful module that handle each field in a separate method(s) you can define a plugin and set methods to validate the object you'r dealing with. For more examples you can the Entity validate example module and look on the test and how to interact with the API of the module.
Developed by Gizra; Sponsored by the Harvard Web Publishing Initiative for OpenScholar
Join in to the developing process on GitHub
2.x branch
The 2.x branch have the same idea but not using ctools plugin but using the plug module. You should use the 2.x version if you:
- Using the plug module and want to validate your entities.
- Working with restful 2.x.
Maintainers
RoySegall and Amitaibu
Project information
- Project categories: Developer tools
43 sites report using this module
- Created by roysegall on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.

