You are here

public function EntityFieldUniqueValues::getRequiredOptions in Helper 8

File

src/Plugin/Validation/Constraint/EntityFieldUniqueValues.php, line 33

Class

EntityFieldUniqueValues
Checks if an entity field has duplicate values.

Namespace

Drupal\helper\Plugin\Validation\Constraint

Code

public function getRequiredOptions() {
  return [
    'field_name',
  ];
}