Question

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.

Was it helpful?

Solution

  • 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
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top