Sets whether entity validation is required before saving the entity.
bool $required: TRUE if validation is required, FALSE otherwise.
$this
public function setValidationRequired($required);