Skip to main content

Filter: gk/gravityexport/export/importable

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. $form_id

Example hook names:

  • gk/gravityexport/export/importable (base hook)
  • gk/gravityexport/export/importable_1 (with first modifier value)

Modifies whether a form's export is written so GravityImport reads each value back exactly.

When on, a backslash goes before separators and backslashes inside Repeater cells, empty name and address parts inside a Repeater keep their lines, and in CSV files a value's own quote before =, +, - or @ gets one more quote. Defaults to the form's "Make Repeater cells importable" setting.

Parameters​

NameTypeDescription
$importableboolWhether the export is importable. Default: the form's setting, off.
$form_idintThe form ID.

Since​

  • TBD: TBD

Source​

Defined in src/Repository/FormsRepository.php at line 196