You are here

public function FieldHelper::__construct in Feeds Paragraphs 8

File

tests/src/Unit/Helpers/FieldHelper.php, line 28

Class

FieldHelper

Namespace

Drupal\Tests\feeds_para_mapper\Unit\Helpers

Code

public function __construct(TargetInfo $targetInfo) {
  $this->prophet = new Prophet();
  $this->targetInfo = $targetInfo;
  $this->bundles = array(
    'bundle_one' => 'bundle_one',
    'bundle_two' => 'bundle_two',
  );
  $this->node_bundle = "product";
  $this->fields = $this
    ->getFields();
}