public function FieldHelper::__construct in Feeds Paragraphs 8
File
- tests/
src/ Unit/ Helpers/ FieldHelper.php, line 28
Class
Namespace
Drupal\Tests\feeds_para_mapper\Unit\HelpersCode
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();
}