Field Presets

Categories

Component ID

2702417

Component name

Field Presets

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

93

Component created

Component changed

Component body

INTRODUCTION

The Field Presets module enables creating of fields using a preset. On creation of a new field using the module, the following happens:

- Field storage configuration is created
- Field configuration is created
- Field widget is set and field is added to the bottom of all form displays
- Field formatter is set and field is added to the bottom of all view displays

The module adds a "Add field using preset" local task on all entity manage fields pages.

This module is essentially a developer module and depends on presets being created and supplied in a *.field_presets.yml file. Two examples have been included.

REQUIREMENTS

No special requirements.

INSTALLATION

Install as you would normally install a contributed Drupal module. See: https://www.drupal.org/documentation/install/modules-themes/modules-8

This is a Drupal 8 only module.