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.
#927982: PHP or Tokens in markup field?
Make sure element values are set (as an empty array) to avoid string offset issues.
Remove empty markup check in process function - we still want to output the form element even if its empty.
make sure arguments are in an array structure.