- πΊπΈUnited States beunerd Providence, Rhode Island
The patch didn't seem to help (drupal 9.5.2, php 8.1), but as a workaround try adding a hidden custom text field to the view toward the top of the list of fields with twig to conditionally look for that key if it exists:
{% if raw_arguments.term_node_tid_depth is defined %}{{ raw_arguments.term_node_tid_depth }}{% endif %}
. Then you can just reference that hidden custom text field as the argument in your views_field_view (e.g.,{{ fields.nothing }}
- π΅π±Poland Patryk Padus
I use this that work in today version:
case 'raw_fields': $value = NULL; if (isset($view->field[$id])) { $value = $view->field[$id]->getValue($values); } break;