Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Changes since 8.x-3.0-alpha24:
- PageManager specific issues related to this are post-wizard changes to the handling of parameters and must be fixed there. This change introduces failures to PageManager tests which should always have been failing had we be properly handling plugin configuration for these variants.
- Fixed logic for the BlockDisplayVariant to prevent it from overwriting configuration values in $this->configuration unless they are specifically rewritten during the set process
These fixes were found as part of the post-commit for PageManager's wizard UI rework. These changes help ensure that page cache based tests for PageManager fail appropriately when relevant and do not result in a false positive due to a changing cache tag. Configuration updates of Display Variant plugins can result in a reset UUID which is included during build() as one of the cache tags. If this is reset and the uuid is changed or lost then a new render of the variant will not pull the expected cache tags and could result in rendering a page (the desired result) for the wrong reasons (because the wrong cache tag changed). PageManager's specific tests attempt to look at nodes and change from one node to another. This would change the tags as well, but contexts and the Display Variant have to be all working together for this and without preserving the UUID, testing of the contexts is insufficiently nuanced.