class FieldTranslation implements TranslationInterface (View source)

Traits

TranslationTrait

Properties

protected $value

Methods

int|null
getId()

No description

array|null
getValue()

No description

setValue($value)

No description

get($key)

No description

set(string $key, $value)

No description

static string
getTranslatableEntityClass()

Used to locate the translatable entity Bolt\Entity\Field in all its child classes e.g. from Bolt\Entity\Field\TextField

Details

int|null getId()

Return Value

int|null

array|null getValue()

Return Value

array|null

FieldTranslation setValue($value)

Parameters

$value

Return Value

FieldTranslation

get($key)

Parameters

$key

FieldTranslation set(string $key, $value)

Parameters

string $key
$value

Return Value

FieldTranslation

static string getTranslatableEntityClass()

Used to locate the translatable entity Bolt\Entity\Field in all its child classes e.g. from Bolt\Entity\Field\TextField

Return Value

string