You are here

function node_field_db_field_insert in Node Field 7.2

Add new fields in database.

Parameters

array $field: Associative field array.

Return value

int|bool If the record insert failed, returns FALSE. If it succeeded, returns SAVED_NEW.

1 call to node_field_db_field_insert()
node_field_create_node_field in includes/node_field.api.inc
Create a new node field.

File

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

Code

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