Skip to content

Instantly share code, notes, and snippets.

View KenKodz's full-sized avatar

KenKodz KenKodz

View GitHub Profile
@KenKodz
KenKodz / drupal_8_twig_cheatsheet.md
Created September 8, 2021 18:44 — forked from raphaellarrinaga/drupal_8_twig_cheatsheet.md
[Drupal 8 Twig cheatsheet] #tags: drupal8, twig, cheatsheet

Drupal 8 Twig cheatsheet

Please note I created that sheet as a personal side note/draft and not everything is fully tested. There could be errors or better things to do. So if you spot something wrong or something that can be improved, feel free to comment below and I will do the changes.

Getting Drupal 8 field values in Twig

Image path: {{ file_url(content.field_name['#items'].entity.uri.value) }}

@KenKodz
KenKodz / keybase.md
Last active March 5, 2017 17:30
keybase.md

Keybase proof

I hereby claim:

  • I am KenLewis on github.
  • I am kenlewis (https://keybase.io/kenlewis) on keybase.
  • I have a public key whose fingerprint is E780 5319 2D07 57A6 B310 5BA4 6036 CA2C 8DB8 C7D8

To claim this, I am signing this object: