GravityKit\GravityMigrate\Platforms\FormidableForms\FormidableFormsSourceAdapter
Builds Gravity Forms payloads from Formidable Forms data.
Since: %ver%
Source: src/Platforms/FormidableForms/FormidableFormsSourceAdapter.php:36
Details
- Kind:
class - Namespace:
GravityKit\GravityMigrate\Platforms\FormidableForms - Extends:
AbstractSourceAdapter
Properties
| Property | Type | Description |
|---|---|---|
$field_label_map | array | Gravity Forms field id to label, for writing merge tags. |
$composite_expansions | array<string, | string> |
$layout_group_index | int | Counter for generated layout group IDs. |
$field_addon_dependencies | array<string, | string> |
Methods
| Method | Description |
|---|---|
build_prepared_payload() | Builds a prepared payload for a Gravity Forms import. |
Method Reference
build_prepared_payload()
public function build_prepared_payload( array $source_form )
Builds a prepared payload for a Gravity Forms import.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$source_form | array | Source form payload. |
Returns
array|\WP_Error— Prepared payload array or WP_Error on failure.
Since: %ver%
Source: src/Platforms/FormidableForms/FormidableFormsSourceAdapter.php:97