You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On admin/config/regional/language page languages can’t be sorted. This means that we can’t have an abc order in the language switcher(frontend). In other word order of languages can't be exported to config.
It is because oe_multilingual_configurable_language_presave function prevent us to sort it. It restores the weight of the languages from web/modules/contrib/oe_multilingual/config/install directory.
web/modules/contrib/oe_multilingual/oe_multilingual.module:79 function oe_multilingual_configurable_language_presave(EntityInterface $entity) { $storage = new FileStorage(drupal_get_path('module', 'oe_multilingual') . '/config/install'); $values = $storage->read('language.entity.' . $entity->id()); if ($values) { foreach ($values as $key => $value) { $entity->set($key, $value); } } }
Could you remove this function or somehow add and option to be optional? Thanks!
The text was updated successfully, but these errors were encountered:
On admin/config/regional/language page languages can’t be sorted. This means that we can’t have an abc order in the language switcher(frontend). In other word order of languages can't be exported to config.
It is because oe_multilingual_configurable_language_presave function prevent us to sort it. It restores the weight of the languages from web/modules/contrib/oe_multilingual/config/install directory.
web/modules/contrib/oe_multilingual/oe_multilingual.module:79
function oe_multilingual_configurable_language_presave(EntityInterface $entity) { $storage = new FileStorage(drupal_get_path('module', 'oe_multilingual') . '/config/install'); $values = $storage->read('language.entity.' . $entity->id()); if ($values) { foreach ($values as $key => $value) { $entity->set($key, $value); } } }
Could you remove this function or somehow add and option to be optional? Thanks!
The text was updated successfully, but these errors were encountered: