- Issue created by @Anybody
Currently the attributes, like class
for example, in the render arrays, are still regular array. Drupal has the Attribute
class for this and should auto-convert it, see
still this doesn't happen for all cases, I guess because we have nested arrays there.
Perhaps we should convert them in https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21... or in the twig template?
What's best practice and which cases do we have to fix?
Active
3.0
Code