---
id: gk-foundation-products-history-record
title: "Action - gk/foundation/products/history/record"
sidebar_label: "gk/foundation/products/history/record"
---

# Action: gk/foundation/products/history/record

Records an event in the product history.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $event | `array` |  |
| ↳ $text_domain | `string` | The product's text domain. |
| ↳ $action | `string` | Event type, here <code>edition_change</code>. |
| ↳ $from | `string\|null` | Edition before the switch. |
| ↳ $to | `string\|null` | Edition after the switch. |
| ↳ $meta | `array` | Versions before and after, and whether the file came from an offer or a channel. |

### Since

- TBD: TBD

### Source

Defined in `Licenses/Editions/EditionSwitch.php` at line 656

