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.


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

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.