Skip to main content

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

PropertyTypeDescription
$field_label_maparrayGravity Forms field id to label, for writing merge tags.
$composite_expansionsarray<string,string>
$layout_group_indexintCounter for generated layout group IDs.
$field_addon_dependenciesarray<string,string>

Methods

MethodDescription
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

NameTypeDefaultDescription
$source_formarraySource form payload.

Returns

  • array | \WP_Error — Prepared payload array or WP_Error on failure.

Since: %ver%

Source: src/Platforms/FormidableForms/FormidableFormsSourceAdapter.php:97