📜  Drupal twig 获取实体引用字段的值 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:30.395000             🧑  作者: Mango

代码示例1
node.field_example.entity.name.value {# Get the name of entity #}
node.field_example.entity.id {# Get the ID of entity #}