You are here

function node_field_init_node_fields in Node Field 7.2

Init $node->node_fields param.

Parameters

object $node: Node to populate node fields for.

1 call to node_field_init_node_fields()
node_field_get_node_fields in includes/node_field.api.inc
Get node fields for node.

File

includes/node_field.api.inc, line 14
API and helpers functions for Node Field module.

Code

function node_field_init_node_fields($node) {
  $node_fields = node_field_db_node_fields_select($node);
  drupal_alter('node_fields', $node, $node_fields);
  node_field_set_node_fields($node, $node_fields, FALSE);
}