class TranslatedText implements FieldType, JsonSerializable (View source)

Properties

protected Collection $value

Methods

__construct(Collection $value = null)

Create a new instance of TranslatedText field type.

mixed
jsonSerialize()

Serialize the class.

mixed
getValue()

Return the value of this field.

void
setValue(mixed $value)

Set the value of this field.

string
getLabel()

Return the display label for the field type.

string
getSettingsView()

Return the reference to the view used in the settings.

string
getView()

Return the view used in editing.

array
getConfig()

Return the config for the field type.

Details

__construct(Collection $value = null)

Create a new instance of TranslatedText field type.

Parameters

Collection $value

mixed jsonSerialize()

Serialize the class.

Return Value

mixed

mixed getValue()

Return the value of this field.

Return Value

mixed

void setValue(mixed $value)

Set the value of this field.

Parameters

mixed $value

Return Value

void

string getLabel()

Return the display label for the field type.

Return Value

string

string getSettingsView()

Return the reference to the view used in the settings.

Return Value

string

string getView()

Return the view used in editing.

Return Value

string

array getConfig()

Return the config for the field type.

Return Value

array