drupal-console
drupal-console copied to clipboard
[config:export:content:type] cect adds extra ".yml" extension
Problem/Motivation
Using the cect command causes base_field_override files to be created with an extra ".yml" extension, which has to be manually removed.
How to reproduce
Here's a sample session:
Dans-iMac:dru8 $ drupal cect --remove-uuid --remove-config-hash --module=amh_types content_gallery
Export content type in module as an optional configuration (yes/no) [yes]:
> n
Include content type module dependencies in module info YAML file (yes/no) [yes]:
>
// config:export:entity
Export the bundle in the module as an optional configuration (yes/no) [yes]:
> n
Exporting bundle content_gallery
- modules/custom/localmods/modules/amh_types/config/install/node.type.content_gallery.yml
- modules/custom/localmods/modules/amh_types/config/install/core.base_field_override.node.content_gallery.promote.yml.yml
...
Note the filename: core.base_field_override.node.content_gallery.promote.yml.yml
Still broken, and only core.base_field_override files.