New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPORTANT] Rename pattern theme prefix from "pattern__" to "pattern_" #36

ademarco opened this Issue Jan 25, 2017 · 0 comments


None yet
1 participant

ademarco commented Jan 25, 2017


In order to allow hook suggestions to work correctly we have to rename theme prefix from pattern__ to pattern_.

Manual changes when upgrading

When upgrading from beta2 to beta3 you need to perform the following manual steps

  1. Rename default template files pattern--MY-PATTERN.html.twig into pattern-MY-PATTERN.html.twig manually.
  2. If you use the ui_patterns_layouts apply manually the following change in your configuration and re-import it:
-      id: pattern__MY_PATTERN
+      id: pattern_MY_PATTERN


  • Rename default hook
  • Fix suggestions
  • Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment