π«π·France nicolas-lsn
Patch for the current 2.0.0-beta1, awaiting the next release.
π«π·France nicolas-lsn
New patch for current versions (> 3.4).
π«π·France nicolas-lsn
π«π·France nicolas-lsn
nicolas-lsn β created an issue.
β¨ | Drupal core | Add a "context" array variable to all theme hooks and "#context" array property to all elements to provide optional contextual data
π«π·France nicolas-lsn
Please note that such changes could cause issue with third-party modules, for example ui_patterns.
This last module define a #context object, which is overridden if we apply the patch. This leads to a fatal error.
So maybe it could be better to override or extends the #context element if it is empty or array, otherwise the variable should be kept as this.