You are here

public function FeedImportProcessor::setEntityInfo in Feed Import 7.3

Sets the entity info object.

File

feed_import_base/inc/feed_import.inc, line 811
This file contains Feed Import helpers.

Class

FeedImportProcessor
Class that processess the import.

Code

public function setEntityInfo($entity_info) {
  if (!$entity_info) {
    $this
      ->addError('No entity info provided');
    return FALSE;
  }
  $this->entityInfo = $entity_info;
  return TRUE;
}