I duplicated a view before making changes, but it didn't save and I'd changed most of the view settings before I realised I was working on the original.

How can I recreate the standard taxonomy view?

I am using Drupal 9, if that makes a difference.

  • Export your current config using drush cex -y
  • Copy/paste the /web/core/modules/taxonomy/config/optional/views.view.taxonomy_term.yml into your config directory (usually /config)
  • Import the config using drush cim -y
  • Absolutely wonderful, thank you! – Hungrynow Nov 3 '20 at 0:18

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.