Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Because of field type check and value rewrite, the raw value is not available.
Suggestion: save the raw value before changing the value.
Ex:
$filter_summary = array(
'label' => check_plain($label),
'value' => $filter->value,
'raw_value' => $filter->value,
'op' => $op,
'opLabel' => $op_label,
'field' => $name,
);
Comments
Comment #2
irinaz CreditAttribution: irinaz as a volunteer commentedThanks, updated.
Comment #3
irinaz CreditAttribution: irinaz as a volunteer commentedComment #4
irinaz CreditAttribution: irinaz as a volunteer commented