You are here

public function EntityFieldUniqueValues::getDefaultOption in Helper 8

File

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

Class

EntityFieldUniqueValues
Checks if an entity field has duplicate values.

Namespace

Drupal\helper\Plugin\Validation\Constraint

Code

public function getDefaultOption() {
  return 'field_name';
}