Upgrading and converting Drupal 7 modules

This guide provides information and specific steps for upgrading contributed and custom modules from Drupal 7 to the latest version.

This guide provides information and specific steps for upgrading contributed and custom modules from Drupal 7 to the latest version of Drupal. Drupal Module Upgrader can do some of this automatically for you, covering many API hooks.

Check out the introduction and how to set up a development environment page for how to get started.

Upgrading classes on 7.x themes to Drupal 8 or later

Changes to core classes

Simplified names of "element-x" helper classes

Step 5: How to upgrade D7 variables to D8's state system

Old-style Drupal Variables (formerly controlled with variable_set and variable_get) need to be converted to Drupal 8's new configuration system API/storage.

See also: Converting 7.x modules to 8.x, Upgrading 7.x themes to 8.x for further required changes to contrib code in order to work with Drupal 8. The conversion approach below is essential to getting D7 code to work in D8, since variable_set and variable_get will throw fatal errors.

Subscribe with RSS Subscribe to RSS - Convert Drupal 7 to Drupal 8