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.
API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
The usage example on the Table
form element class refers to a #title
element, but unless it's unhandled. The class contains code to handle row-level titles, but it contains nothing at the table level; and specifying a value doesn't seem to do anything. Will follow with a patch to remove it from the usage example.
Comment | File | Size | Author |
---|---|---|---|
#6 | table_form_element-2653692-6.patch | 450 bytes | TravisCarden |
Comments
Comment #2
TravisCarden CreditAttribution: TravisCarden at Acquia commentedComment #3
jhodgdonPerhaps it ought to be changed to #caption?
Comment #4
jhodgdonComment #5
jhodgdonAnyway, agreed #title does not exist.
Comment #6
TravisCarden CreditAttribution: TravisCarden as a volunteer commentedOh! Good idea. I didn't even know about
#caption
.Comment #7
jhodgdonLooks fine, thanks!
Comment #8
alexpottCommitted c3c0980 and pushed to 8.0.x. Thanks!