Debug D7

$conf['theme_debug'] = TRUE;

Drupal 8 subtheme bootstrap

Context error 247 patch

Improve repeat date rule

Twig taxonomy term entity reference ID

0
down vote
I figured it out, I was able to print the term ID of the category field using:

{{ node.field_category.entity.tid.value }} as I realised I was looking in the wrong direction. Drupal 8 use entity reference only so I needed to call the TID from the referenced entity which of course is a taxonomy term in my category field.

Views Bootstrap

Timeline

Pages

Subscribe to Front page feed