Making translatable field not translatable
Created 7 years ago by keevitaja

In a module i have a field which is translatable. How can i make it not translatable? Is there a migration for it perhaps?

ryanthompson  —  7 years ago Best Answer

Currently - because of the table structure there is only removing the field and re-adding it as non (or translated if starting as non).

The way I plan on tackling this in core is stashing the values - making the migration - then reapplying the values.

keevitaja  —  7 years ago

OK tnx. Is there a migration for the field removal?

ryanthompson  —  7 years ago

You can use the fields repository / assignments repository to do it programmatically within a migration.