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.

Était-ce utile?

La 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
Licencié sous: CC-BY-SA avec attribution
Non affilié à drupal.stackexchange
scroll top