DateMetadataField
class DateMetadataField extends MetadataField
Represents a structured metadata field with 'Date' type.
Methods
__construct(string $label)
The DateMetadataField constructor.
setDefaultValue(mixed $defaultValue)
Sets the default date for this field.
getDefaultValue()
Gets the default date of this field.
Details
__construct(string $label)
The DateMetadataField constructor.
void
setDefaultValue(mixed $defaultValue)
Sets the default date for this field.
DateTime|null
getDefaultValue()
Gets the default date of this field.