Panelizer allows you to override the display per entity, which is great.
In the IPE, you then can revert to the default configuration. While this is great functionality, it's also very breaking as it doesn't ask you for confirmation and you end up loosing any configuration you have just done, which can be painful :)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

swentel created an issue. See original summary.

wiifm’s picture

Having just experienced this issue, I can agree, totally painful. Drupal core normally follows this pattern too (e.g. deleting a node).

maxneaga’s picture

Assigned: Unassigned » maxneaga
maxneaga’s picture

Attach is a patch that adds the confirmation prompt for "Revert to default" in IPE.

maxneaga’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
Status: Active » Needs review
japerry’s picture

Status: Needs review » Fixed

Works well, committed.

  • japerry committed 691c750 on 8.x-4.x authored by maxneaga
    Issue #2677924 by maxneaga: 'Revert to default' needs a confirmation
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.