Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Create fields programmatically

This module allows you to quickly create fields from a list defined in custom configuration files.

It is particularly helpful in one of these situations:

  • 💡 Beginning of a Drupal project when planning content structure
  • 🤞 Many fields are the same across your content types
  • 🎨 Decoupled architecture where front-end development takes place first
    (allows potentially non-Drupal developers to work with real content and markup)
  • 🥱 If you are not in the mood of using the admin UI to create fields

Installation

How to install the field_create module

Basic usage

How to create configuration to create fields programmatically.

Guide maintainers

matthieuscarset's picture