Problem/Motivation

In #3325167: Revisit the redirect to 'add block' form in the 'add block content' form this method was added with public visibility while the parent has protected. This broke Panels #3413891: Panels IPE block content edit form not loading with Drupal 10.2

Proposed resolution

Change it to protected

Issue fork drupal-3424751

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

acbramley created an issue. See original summary.

acbramley’s picture

Status: Active » Needs review
acbramley’s picture

Issue summary: View changes
phenaproxima’s picture

Status: Needs review » Reviewed & tested by the community

This seems straightforward.

Unless I'm missing something, I don't think this could cause a BC break; anything in contrib that overrides this method is either keeping it protected (and which would be fixed by this), or have made it public, which should continue working after this is committed.

larowlan’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed to 11.x and backported to 10.3.x and 10.2.x - thanks all

  • larowlan committed db5e5c12 on 10.2.x
    Issue #3424751 by acbramley: BlockContentForm::actions is incorrectly...

  • larowlan committed bed76898 on 10.3.x
    Issue #3424751 by acbramley: BlockContentForm::actions is incorrectly...

  • larowlan committed 8e3e867b on 11.x
    Issue #3424751 by acbramley: BlockContentForm::actions is incorrectly...

acbramley’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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