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.
In D7, a module could implement hook_form_alter() to add to a form being built. And you could use:
$form['#validate'][] = 'my_validation_function';
to cause my_validation_function(...) to be called to do custom validation on submission.
In D8, hook_form_alter() (and hook_form_formid_alter()) work the same, but I haven't figured out how to get custom validation to happen. When I attempt the D7 approach, I get "The website encountered an unexpected error..."
Hallo Community, we are experiencing a blocking issue creating a Drupal 8 installation in load balancing using Apache mod_proxy. We are running a front end running Apache 2.4.10, Debian Linux 8: on it mod_proxy behaves as a Reverse Proxy and forward request to two different machines, same Debian Linux and Apache version. The two installations share the file system accessing an NFS share in another machine on the same subnet.
The Drupal version running is 8.2.3- 2016.11.16, Php version is Php 5.6.292.
We have registered a domain that point to the load balancing engine.
This module creates an input filter that can be used in a text format, that will automatically parse YouTube and/or Vimeo URLs into embedded videos. This means that any field that uses text formats can have URLs directly pasted into the body, and the URL will be replaced with the relevant video.
Hi there, i am a new to drupal and i'm wondering, is there any video tutorial on how to make a real website in drupal 8? All i found is some simple stuff but nothing like a real modern website. Thanks