You are here

function fillpdf_update_field in FillPDF 7

Same name and namespace in other branches
  1. 5 fillpdf.module \fillpdf_update_field()
  2. 6 fillpdf.admin.inc \fillpdf_update_field()
  3. 7.2 fillpdf.admin.inc \fillpdf_update_field()

Stores the updated $field in the database.

Deprecated

in fillpdf:7.x-1.11 and is removed from all future branches. Use fillpdf_fields_create_update().

See also

https://www.drupal.org/project/fillpdf/issues/2332323

File

./fillpdf.deprecated.inc, line 166
Deprecated functions.

Code

function fillpdf_update_field($pdf_form, $field, $old_key) {
  $field = (array) $field;
  fillpdf_fields_create_update($pdf_form->fid, $old_key, $field, TRUE);
}