How do I re-create a built-in view?
-
28-02-2021 - |
Frage
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.
Lösung
- 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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit drupal.stackexchange