Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
What is a good way to include JS and CSS files in a module using the .libraries.yml file that have file names as follows :
abc-61c284b39224e2b2e4d5.css
abc-61c284b39224e2b2e4d5.js
The JS and CSS are generated using contenthash which would change on every build of the files if their content changes. How can I include these files in my pages using the file name as only : abc without caring for the contenthash ?
Remove username field from registration form, i try with the Email Registration module but my username field is not removed. i want to register the form without the username field.
I created a flag to flag the stores. I want when a user updates a store, the store is automatically flagged. The code below does not work and there is no error message.