Commanding Chaos for Coworking, Open Source and Creative Communities

Entity validator | Drupal.org

Thu, 12/04/2014 - 07:49 -- rprice

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.