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.
I have updated Drupal NUMEROUS times and all usually is just fine. THis time it did not update properly. The issue is that after the update that seemed to go just fine I can no long er login to site it errors out:
The website encountered an unexpected error. Please try again later.
With an objective of making the learning activity a delightsome, fun and enriching experience, Yardstick has been hugely impactful. Its learning programs constitute experiential learning modules that emphasise upon making the online education immersive for children. It has been instrumental in providing interactive and hands-on curriculum.
I am trying do this. I have module with controller and form. I want render my form in specific place in twig template. Not only one template, but everywhere in my website. Earlier in Drupal 7 i easy do this with
But in Drupal 8 I have only empty form data. I try every manual here. But not working. For me is working only form in routes - so page defined in module.routing.yml show me form.
I need to put a file upload form in a block in Drupal 8.7.10. Everything was working great with my form as a standalone page but when I use the formBuilder to create a block for it, the form's submit handler stops receiving any files.
I've narrowed it down to the fact that Drupal is not adding the enctype attribute to the correct element. It's adding it to the container div within the block, not the form element. While testing this, I've found that all $form['#attributes'] go to that div instead of the form.