You are here

function lingotek_empty_node in Lingotek Translation 7.2

Same name and namespace in other branches
  1. 7.3 lingotek.util.inc \lingotek_empty_node()
  2. 7.4 lingotek.util.inc \lingotek_empty_node()
1 call to lingotek_empty_node()
lingotek_form_node_form_alter in ./lingotek.module
Implements hook_form_BASE_FORM_ID_alter().

File

./lingotek.util.inc, line 197
Utility functions.

Code

function lingotek_empty_node() {
  $node = new stdClass();
  $node->nid = -2;
  $node->language = LANGUAGE_NONE;
  return $node;
}