---
id: gk-gravityview-admin-views-template-switch-fields
title: "Filter - gk/gravityview/admin-views/template-switch/fields"
sidebar_label: "gk/gravityview/admin-views/template-switch/fields"
---

# Filter: gk/gravityview/admin-views/template-switch/fields

Modifies the migrated field configuration after a View template switch.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $result | `array` | The migrated configuration, keyed for the target template. |
| $fields | `array` | The original configuration. |
| $from_template | `string` | The source template ID. |
| $to_template | `string` | The target template ID. |

### Since

- $ver$: $ver$

### Source

Defined in `src/Admin/TemplateFieldTransfer.php` at line 103

