On this page
How to upgrade from Layout Plugin
Last updated on
11 March 2021
This documentation needs work. See "Help improve this page" in the sidebar.
At this time, Layout plugin and Layout discovery modules cannot be run at the same time in a Drupal 8.3.x instance. (See issue: #2867795: White screen (WSOD @ Drupal 8.3) ERROR: Cannot use object of type as array )
Try the following process to move from Layout plugin to Layout discovery:
- Remove or at least disable any contrib product that relies on Layout plugin;
- Disable (maybe even delete) layout plugin
- Update database schema.
It is best to use the 4.x branch of the following modules when completing this transition:
- Display Suite 8.3.x (beta version available).
- Panels 8.4.x (in development).
- Panelizer 8.4.x (beta version available).
Possible issues:
- #2872957: Document that the 'css' property no longer works after upgrading from layout plugin
- Names changing for bundled layouts, e.g. "onecol" changes to "layout_onecol"; this can be handled via an update script.
- API changes for custom integrations; this needs documentation.
See also:
Help improve this page
Page status: Needs work
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion
Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.