GravityKit\GravityMigrate\Platforms\FluentForms\FluentFormsTargetAdapter
Builds Fluent Forms payloads from Gravity Forms data.
Since: %ver%
Source: src/Platforms/FluentForms/FluentFormsTargetAdapter.php:26
Details
- Kind:
class - Namespace:
GravityKit\GravityMigrate\Platforms\FluentForms - Extends:
AbstractTargetAdapter
Properties
| Property | Type | Description |
|---|---|---|
$default_elements | array | null | Cached Fluent default elements. |
$index_counter | int | Field index counter. |
$substituted_pro_labels | string[] | Labels of fields put in a simpler element because Fluent Forms Pro is absent. |
Methods
| Method | Description |
|---|---|
build_prepared_payload() | Builds a prepared payload for Fluent Forms export. |
Method Reference
build_prepared_payload()
public function build_prepared_payload( array $gf_form ): array
Builds a prepared payload for Fluent Forms export.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$gf_form | array | Gravity Forms form array. |
Returns
array
Since: %ver%
Source: src/Platforms/FluentForms/FluentFormsTargetAdapter.php:80