Voting starts in March for the Drupal Association Board election.
This came up in. We want to translate node displays on the node type translation form, but we cannot just attach *all* node displays to the mapper alltogether, but we need to dynamically attach those displays that belong to the node type that is currently being translated. And we cannot do this in a dedicated mapper, because we need to do this generically from Field UI module for all entity types.
ConfigEntityMapper::setEntity() is called for the node type mapper, it ends up setting the
node.type.article config name, for example. We need to somehow hook into that from Field UI and also attach
core.entity_view_display.node.article.teaser for example.
This is blocking a major bug, so is tagged as major as well.
Have config_translation module dispatch an event when populateFromRouteMatch() is called so that other modules can subscribe to the event and add config names to the config mapper.
Evaluate if we need the route match in the event. See this comment for a reason why we should.
User interface changes
- New event (ConfigMapperPopulateEvent)
- New argument (optional for BC) for ConfigNamesMapper & ConfigEntityMapper ($event_dispatcher)
Data model changes
|#50||drupal-alter_config_mappers-2577761-50.patch||18.96 KB||Kristen Pol|
|#50||interdiff-2577761-48-50.txt||2.67 KB||Kristen Pol|