Using Features 2.x

Many Drupal users create custom modules to provide specific sets of features that they can reuse across multiple sites. In fact, there is a module for the sole purpose of providing a means to export configuration and create modules that provide features. This is how the Features modules received its name, in fact.

The Features module has two sub-modules. The main Features module provides all the functionalities. The Features UI module provides a user interface for creating and managing features.

We will use Features to export a module with a configuration that contains the default page and article content types provided by the standard installation, so they can be used on other installation profiles.

How to do it...

  1. The Features ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.