- Status changed to Fixed
about 1 year ago 4:23pm 7 November 2023 Automatically closed - issue fixed for 2 weeks with no activity.
In many cases in D8 this module may be obsolete, because using Twig for Views rewriting we can now use conditional logic. It would be helpful to note this on the module page in order to help reduce module bloat on systems that may not need the extra UI functionality that this offers.
In the field's rewrite section, we can use Twig conditionals to do the same thing. For example to display literal values:
{% if {{ field_type == "old" }} %}
OLD
{% else %}
NEW
{% endif %}
or to display view fields (fields must have already been loaded and be available under the Replacement Patterns section):
{% if {{ field_show_other_flag }} %}
{{ field_other_thing }}
{% else %}
{{ field_main_thing }}
{% endif %}
Fixed
1.0
Documentation
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.