3

I know drupal config:export:content:type is for exporting a content type. Is there a way to do this for a Paragraph bundle?

drupal config:export:paragraph:type doesn't work/exist.

2 Answers 2

6

Turns out it can be done with the config:export:entity command.

drupal config:export:entity paragraphs_type [PARAGRAPH_TYPE] --module="[YOUR_MODULE]" --optional-config --remove-uuid --remove-config-hash --include-module-dependencies

1

Does anyone have a Drupal 9 way of doing this now that Drupal console is not moving across to Drupal 9?

1
  • There are a few open pull requests to make Drupal Console D9 compatible. Also this should have been a comment ;-)
    – Bram
    Oct 18, 2021 at 18:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.