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.
Module can now provide form elements for block configuration form, but there's no easy way to validate entered-values, can we support hook_block_validate?
Thanks
Comments
Comment #1
dcam CreditAttribution: dcam commentedClosing old issues. If anyone needs to validate custom block configuration form values, you can use the #validate form array element to add your validation function.