🇩🇪Germany @br3dr3n

Account created on 16 August 2013, about 11 years ago
#

Recent comments

🇩🇪Germany br3dr3n

I searched the Drupal core (10.2) for the error message to look for similar code sections. (grep -rn "callbacks must be methods" .)
The are occurences in some DateTime classes.

lib/Drupal/Core/Datetime/Element/Datetime.php
lib/Drupal/Core/Datetime/Element/Datelist.php

There the callback is converted as follows:

Variable::callableToString($callback)

The Variable class is already in use in the Renderer class.

Production build 0.71.5 2024