You are here

public function FeedImportProcessor::setEntityInfo in Feed Import 8

Sets the entity info object.

File

feed_import_base/src/FeedImportProcessor.php, line 251

Class

FeedImportProcessor
Class that processess the import.

Namespace

Drupal\feed_import_base

Code

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