Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See meta-issue: #2511554: [meta] Move some parts of Page Manager into CTools and #2511560: Add Drupal\page_manager\Plugin\VariantAwareInterface and VariantCollection from Page Manager
Per the ctools issue:
- Move VariantAwareInterface (and related tests) into CTools and rename to VariantCollectionInterface
- Create a Page Manager issue for refactoring the code to use this interface
- Do manual testing that Page Manager still works
- Make sure automated tests in both CTools and Page Manager pass
Comment | File | Size | Author |
---|---|---|---|
#10 | 2550959-move-VariantCollection-10.patch | 12.02 KB | saltednut |
Comments
Comment #2
saltednutInitial pass at the removal and refactoring of usage. This will also result in ctools becoming a dependency to of page_manager.
Comment #3
saltednutAdded dependency to ctools.
Comment #4
saltednutComment #5
saltednutThis patch removes VariantCollection, VariantAwareInterface and VariantAwareTrait plus related tests.
Those components will be moved to ctools as follows.
\Drupal\page_manager\Plugin\VariantCollection
->\Drupal\ctools\Plugin\VariantCollection
\Drupal\page_manager\Plugin\VariantAwareInterface
->\Drupal\ctools\Plugin\VariantCollectionInterface
\Drupal\page_manager\Plugin\VariantAwareTrait
->\Drupal\ctools\Plugin\VariantCollectionTrait
Also see: #2511560-8: Add Drupal\page_manager\Plugin\VariantAwareInterface and VariantCollection from Page Manager
Comment #8
saltednutPostponed by #2551195: Add dependency on CTools and #2511560: Add Drupal\page_manager\Plugin\VariantAwareInterface and VariantCollection from Page Manager
Comment #9
saltednutUpdating patch as #2551195: Add dependency on CTools has landed.
Comment #10
saltednutSorry, the last patch did not have the correct upstream merge. This one does not touch the .info.yml file.
Comment #11
dsnopekThis was fixed in some other issue that I can't seem to track down now. But those classes are removed in any case!