Problem/Motivation

We want to ensure that plugins are reloaded after an update.

To be clear, this means that we expect plugin definitions to change when the update is complete, but plugin implementations (i.e., the class itself) will be the same. That's weird, I know, but it's a limitation of the PHP runtime.

Proposed resolution

Add a block plugin to updated_module and change both its definition and implementation in the updated version of the module. Post-update, the definition should be changed, but the implementation should not.

Remaining tasks

Do it.

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

phenaproxima created an issue. See original summary.

phenaproxima’s picture

Assigned: Unassigned » tedbow

Assigning to @tedbow for review.

phenaproxima’s picture

Status: Active » Needs review
tedbow’s picture

Status: Needs review » Needs work
phenaproxima’s picture

Status: Needs work » Needs review
tedbow’s picture

Status: Needs review » Reviewed & tested by the community
phenaproxima’s picture

  • phenaproxima committed bdbbb04 on 8.x-2.x
    Issue #3279527 by phenaproxima, tedbow: Ensure plugins are reloaded...
phenaproxima’s picture

Status: Reviewed & tested by the community » Fixed

Merged into 8.x-2.x.

Status: Fixed » Closed (fixed)

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