Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When resetting the display for a given entity view mode, it currently deletes all records for the entity - regardless of view mode. What it instead should do is update the entity_type/entity_id/revision_id/view_mode record to the default panelizer display, or at least just delete that one record, not everything.
Comment | File | Size | Author |
---|---|---|---|
#4 | panelizer-n2218275-4.patch | 3.9 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis needs to be fixed in the next release.
Comment #2
DamienMcKennaIt's related to #2209083: 'Reset' should have option to create new revision.
Comment #3
DamienMcKennaComment #4
DamienMcKennaThis adds a new reset_entity_panelizer() method to PanelizerEntityDefault that updates the {panelizer_entity} records to the current default display, rather than just deleting records.
Comment #6
DamienMcKennaCommitted.