You are here

function node_field_db_field_update in Node Field 7.2

Update fields in database.

Parameters

array $field: Associative field array.

Return value

int|bool If the record update failed, returns FALSE. If it succeeded, returns SAVED_UPDATED.

1 call to node_field_db_field_update()
node_field_update_node_field in includes/node_field.api.inc
Update existing node field. Input array must contain id of field.

File

model/node_field.db.inc, line 32
Database related functions for node_field module.

Code

function node_field_db_field_update(array &$field) {
  return drupal_write_record('node_field', $field, 'id');
}