0

I want to make entity in Drupal 8 called cash that store only numeric value (integer or float). I think, that entity not need translation. Is it possible for us to create custom entity without language/translation?

0

@IgorTengab An entity in Drupal 8 needs translation to be enabled to be translatable

For example by going to /admin/structure/types/manage/ENTITYNAME > language settings > enable translation

For more info look here

But for your purpose perhaps a light-weight alternative would be to create a custom entity https://www.drupal.org/docs/8/api/entity-api/create-a-custom-content-entity

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.