class UniqueValidation implements ValidationInterface

UniqueValidation class.

Mandates that a value be unique among all entries with the same content type.

Applicable to: - Symbol - Integer - Number

Methods

__construct()

UniqueValidation constructor.

static string[]
getValidFieldTypes()

Returns an array of allowed field types for the current validation.

jsonSerialize()

{@inheritdoc}

Details

at line 29
__construct()

UniqueValidation constructor.

at line 36
static string[] getValidFieldTypes()

Returns an array of allowed field types for the current validation.

Return Value

string[]

at line 44
jsonSerialize()

{@inheritdoc}