escapeField($condition['real_field']) . ') ' . $condition['operator'] . ' ('; $condition['where_args'] = []; $n = 1; // Only use the array values in case an associative array is passed as an // argument following similar pattern in // \Drupal\Core\Database\Connection::expandArguments(). foreach ($condition['value'] as $value) { $condition['where'] .= 'LOWER(:value' . $n . '),'; $condition['where_args'][':value' . $n] = $value; $n++; } $condition['where'] = trim($condition['where'], ','); $condition['where'] .= ')'; return; } parent::translateCondition($condition, $sql_query, $case_sensitive); } }