This project is not covered by Drupal’s security advisory policy.

Access children element from Twig.

Usage

Enable the module, then, in your Twig files, you'll be able to do:

{% for item in content.field_something|children %}
  {{ item.get('value').getValue() }}
{% endfor %}

Inspired from

#2776307

Project information

  • caution Unsupported
    Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects
  • caution Obsolete
    Use of this project is deprecated.
  • Created by Pol on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases