subtheme.theme file not recognized

Created on 27 September 2023, over 1 year ago
Updated 27 June 2024, 6 months ago

I am on Drupal 9

I am using W3css as by base theme (drupal8_w3css_theme).
My theme's name is storm. All my templates and CSS files are recognized and they do change the layout and look and feel as I want.

However here is the problem.

I want add storm_form_node_form_alter hook in my storm.theme file
I added it however there is no effect.

I even kept a syntax error (not closing the parenthesis at the end of function!!!) Even that error was not recognized. Whole thing still worked ! (along with the other layout and css changes as desired).

I tried the following things ... but all in vain.

  1. storm.theme file
  2. theme-settings.php file in .../themes/custom/storm directory
  3. uninstall storm theme and reinstall it

the hook overriding is not effective ... because the file is not recognized.

πŸ’¬ Support request
Status

Fixed

Version

2.0

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024