Skip to main content

Export Configuration using Drupal Console into a Module

Submitted by system on
Drupal console can be used to export configuration to an existing module. Exporting Content Types : Remove UUID and Config hash. Also specify module as ji_custom in this case vendor/drupal/console/bin/drupal config:export:content:type support_ticket --remove-uuid --remove-config-hash --module=ji_custom
Exporting Custom Entity types, in this case generated using ECK module vendor/drupal/console/bin/drupal config:export:view internal_support_notes --remove-uuid --remove-config-hash --module=ji_custom
vendor/drupal/console/bin/drupal config:export:entity internal_note internal_note --remove-uuid --remove-config-hash --module=ji_custom

Exporting Comment types vendor/drupal/console/bin/drupal config:export:entity comment_type support_ticket --remove-uuid --remove-config-hash --module=ji_custom
Exporting Specific Taxonomy Vocabularies vendor/drupal/console/bin/drupal config:export:entity taxonomy_vocabulary support_release --remove-uuid --remove-config-hash --module=ji_custom

Technologies