3 votes

Custom theme throws “Undefined constant "CSS_STYLE" in constant”

You used the key style, but that is not part of the 5 allowed keys. Replace style: with theme: and you should be fine. From the documentation: You can set CSS weights with 5 different levels of ...
Gogowitsch's user avatar
1 vote

Can't pass variables from a controller to the template if I use base hook to override the theme template

However, I would like to design the page from scratch ... The controller is still returning a render array. Then you agree that Drupal is building the page for you, by default using page.html.twig ...
4uk4's user avatar
  • 99.6k

Only top scored, non community-wiki answers of a minimum length are eligible