The config:export:content:type command: Export a specific content type and their fields.
Usage:
$ drupal config:export:content:type [arguments] [options]
Option | Details |
---|---|
module | The Module name. |
optional-config | Export content type as an optional YAML configuration in your module |
Argument | Details |
---|---|
content_type | Content Type to be exported |