- Issue created by @omarlopesino
- Merge request !5Issue #3481713: Allow changing languages using drush commands → (Open) created by omarlopesino
It would be nice to change the language of entities by using drush commands.
Create two drush commands:
1) Command that changes the default language to a specific entity:
drush entity_change_default_language:change-default-language node 4 en
2) Command that changes the default language to all entities of a specific type:
It would only change the language, when that entity has a translation into the target language.
drush entity_change_default_language:change-default-language-entity-type node en --preserve-languages=es
Active
1.0
Code