Account created on 27 October 2009, over 14 years ago
  • Drupal Backend Developer at SymetrisΒ 
#

Merge Requests

Recent comments

πŸ‡¨πŸ‡¦Canada KarimB

No worries. We've learned a lot about container definitions and shallow merge ;)

Here is a shorter version of the documentation.

πŸ‡¨πŸ‡¦Canada KarimB

We added documentation in development.services.yml about the Shallow Merge of the files that provide container definitions.

πŸ‡¨πŸ‡¦Canada KarimB

We are going to work on this issue as part of the Novice contribution workshop of Symetris β†’ .

πŸ‡¨πŸ‡¦Canada KarimB

KarimB β†’ changed the visibility of the branch 3406109-correct-milli-in to active.

πŸ‡¨πŸ‡¦Canada KarimB

KarimB β†’ changed the visibility of the branch 3406109-correct-milli-in to hidden.

πŸ‡¨πŸ‡¦Canada KarimB

If we switch to 11.x this would be a duplicated of https://www.drupal.org/project/drupal/issues/3071143 πŸ› Table Render Array Documention Is incomplete and confusing RTBC
So I think we could close this issue.
Thx @ichigeki btw.

πŸ‡¨πŸ‡¦Canada KarimB

I added an example with the use of #footer and #caption and added comments to the existing example.

πŸ‡¨πŸ‡¦Canada KarimB

KarimB β†’ made their first commit to this issue’s fork.

πŸ‡¨πŸ‡¦Canada KarimB

I'm going to take this issue as part of the Symetris' contribution workshop.

πŸ‡¨πŸ‡¦Canada KarimB

Actually the example is working fine. No need to explicitly declare the #rows property when adding sub-elements (or children) to $form['contacts'] (the main table element). When adding children like $form['contacts'][$i][...] these children will populate the #rows property automatically in preRenderTable(). I added some comments for better understanding.

I also added a new example with the #rows property explicitly declared and added information for #footer and #caption.

(I made a merge request to 11.x)

Hope this help ;)

πŸ‡¨πŸ‡¦Canada KarimB

KarimB β†’ made their first commit to this issue’s fork.

Production build 0.69.0 2024