You are here

function node_field_is_node_fields_init in Node Field 7.2

Checks if node_fields attribute is set for node.

Parameters

object $node: Node to check.

Return value

bool Returns TRUE if node_field for node has been initialized already.

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

File

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

Code

function node_field_is_node_fields_init($node) {
  if (isset($node->node_fields)) {
    return TRUE;
  }
  return FALSE;
}