->
setTranslatable(TRUE
);
} if (!
$this->
hasCreatedTime()) { $definitions['content_translation_created'
] = BaseFieldDefinition::
create('created'
) ->
setLabel(t('Translation created time'
)) ->
setDescription(t('The Unix timestamp when the translation was created.'
)) ->
setRevisionable(TRUE
) ->
setTranslatable(TRUE
);
} if (!
$this->
hasChangedTime()) { $definitions['content_translation_changed'
] = BaseFieldDefinition::
create('changed'
) ->
setLabel(t('Translation changed time'
)) ->
setDescription(t('The Unix timestamp when the translation was most recently saved.'
)) ->
setRevisionable(TRUE
) ->
setTranslatable(TRUE
);
} return $definitions;
} /**
* Checks whether the entity type supports author natively.
*
* @return bool
* TRUE if metadata is natively supported, FALSE otherwise.
*/