interface RequiredFieldStorageDefinitionInterface (View source)

Defines an interface for required field storage definitions.

Methods

bool
isStorageRequired()

Returns whether the field storage is required.

Details

bool isStorageRequired()

Returns whether the field storage is required.

If a field storage is required, NOT NULL constraints will be added automatically for the required properties of a field type.

Return Value

bool

TRUE if the field storage is required, FALSE otherwise.