Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (9 sloc) 392 Bytes

size

Straight mapped to the drupal format_size function.

Optional parameter is a different language code then the current node/users language.

This PDF document is {{ node.field_fileattachment[0]['size']|size }}
This PDF document is {{ node.field_fileattachment[0]['size']|size('en') }}