You are here

function entityreference_autocreate_init in Entityreference Autocreate 7

Load feeds support.

Implements hook_init().

File

./entityreference_autocreate.module, line 437
Intercepts entityreference autocomplete submission validation and creates a target node on the fly if it doesn't yet exist.

Code

function entityreference_autocreate_init() {

  // Include feeds.module integration.
  if (module_exists('feeds')) {
    module_load_include('inc', 'entityreference_autocreate', 'entityreference_autocreate.feeds');
  }
}