Export a view in YAML format inside a provided module to reuse in other website.


$ drupal config:export:view [arguments] [options]
$ cev

Available options

Option Details
--module The Module name.
--optional-config Export view as an optional YAML configuration in your module
--include-module-dependencies Include module dependencies in module info YAML file

Available arguments

Argument Details
view-id View ID