Can you put back the functionality on Drupal 8 to be able to have a confirmation form when you click on published or unpublished for a node type?

see this issue for D7 : https://www.drupal.org/project/publishcontent/issues/1399572
and this OLD commit for D8 : https://git.drupalcode.org/project/publishcontent/commit/183ad8c

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

steveoriol created an issue. See original summary.

rusylnarito’s picture

We need this back :D

mvonfrie’s picture

Publishing/unpublishing content has many effects including possible desctructive ones: assume someone has the unpublish * role but not the publish * role and clicks on the unpublish tab/local action by accident (or vice-versa). The user would not be able to revert this action on his own.

astonvictor made their first commit to this issue’s fork.

astonvictor’s picture

Status: Active » Needs review

Created a new route as an additional step to confirm the changing of the status.