Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This module provides a Drupal 8 compatibility layer for Drupal 7.

This is just an experiment for developers. This is an API module and doesn't provide any UI at all. Though it does work :-)


  1. Requires Libraries API 7.x-2.x-dev.
  2. Check out full Drupal 8 on sites/all/libraries/drupal8. You can use git or download the latest version from Drupal 8.

Note that having all that Drupal 8 code there may not be safe so you better do some cleanup if this ever gets out of a development sandbox.

To use Drupal 8 classes:


(Yeah, that's it. Don't forget namespaces and 'use' statements though.

To include some other Drupal 8 API:


(Library must be previously initialized. Function names may clash with D7 functions.)

Project information