Returns the name of the required options
Override this method if you want to define required options.
@api
array
Overrides Constraint::getRequiredOptions
__construct()
public function getRequiredOptions() {
return array(
'fields',
);
}