You are here

function node_import_input_error in Node import 6

Set an error on a random form element.

Related topics

13 calls to node_import_input_error()
book_node_import_values_alter in supported/book.inc
Implementation of hook_node_import_values_alter().
content_taxonomy_node_import_get_children in supported/content_taxonomy/content_taxonomy.inc
Used to contruct the lineage of terms for use by hierarchical select widget.
node_import_check_book_reference in supported/book.inc
Check whether the value is a book (by NID or Title).
node_import_check_boolean in ./node_import.inc
Check if the value is a valid boolean (1, 0, true, false, yes, no, on, off).
node_import_check_date in ./node_import.inc
Check if the value is a valid date.

... See full list

File

./node_import.inc, line 1545
Public API of the Node import module.

Code

function node_import_input_error($message, $args = array()) {
  static $count = 0;
  form_set_error('node_import-' . $count, $message, $args);
  $count++;
}