Advanced, flexible validation for forms, entities and fields

bramtenhove

The object-oriented Validator module provides an advanced and flexible way for developers to validate forms, entities and fields. Using a simple system of hooks and user defined constraints everything in Drupal can be validated.

The module was created to overcome the vast number of form alters and custom validation functions. It helps create a clear structure for defining your custom validation. It also helps in re-using constraints across multiple forms and/or entities.

In this session we want to look deeper into what the use cases are for this way of validating as well examples of how to use the Validator for Drupal 7 and Drupal 8.

Session Track

Coding and Development

Experience Level

Advanced

Drupal Version