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!lib!Drupal!Core!Render!Element!Ta...
> #rows: An array of the rows to be displayed. Each row is either an array of cell contents or an array of properties as described in table.html.twig Alternatively specify the data for the table as child elements of the table element. Table elements would contain rows elements that would in turn contain column elements.
The link to table.html.twig doesn't work properly.
Comments
Comment #2
cilefen CreditAttribution: cilefen commentedIt works: https://api.drupal.org/api/drupal/8.2.x/search/table.html.twig. Is that the link you are referring-to? Maybe it was a site issue.
Comment #3
joachim CreditAttribution: joachim as a volunteer commentedWell it gives me a search link, the one you've posted.
But the text says 'as described in table.html.twig'. It's confusing -- which one should the user go and read?
Comment #10
MatroskeenI verified the link on the following documentation page: https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Render!Element!Ta...
As for me, it works as expected, and opening https://api.drupal.org/api/drupal/core%21modules%21system%21templates%21..., which is a default table template.
I believe the default system template should be enough to cover most cases. If there are any overrides in contrib/custom theme, the developer should be able to check the corresponding file.
It's probably outdated, so I'm closing it.
Thanks!