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.
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityTurns 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
Does anyone have a Drupal 9 way of doing this now that Drupal console is not moving across to Drupal 9?