class StringMetadataField extends MetadataField

Represents a metadata field with 'String' type.

Methods

__construct(string $label)

The StringMetadataField constructor.

setDefaultValue(mixed $defaultValue)

Sets the default value.

Details

__construct(string $label)

The StringMetadataField constructor.

Parameters

Name Type Description
$label string

void setDefaultValue(mixed $defaultValue)

Sets the default value.

Parameters

Name Type Description
$defaultValue mixed

Return Value

void