Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the dev-version of your fine module this function has had 2 parameters:
function references_dialog_process_widget(&$element, $form_state) {
In beta2 it lacks the second parameter:
function references_dialog_process_widget(&$element) {
The call (inside form_builder() in drupal-core) includes the $form_state as parameter:
$element = $function($element, $form_state);
So it comes to some hard to find misbehaviour...
Greetings from Cologne !
Comments