You are here

public function FieldConfig::__construct in Feeds Paragraphs 8

FieldConfig constructor.

Parameters

string $label:

string $name:

string $type:

int $id:

int $cardinality:

array $settings:

array $paragraph_ids:

string $host_type:

string $host_bundle:

string $host_field:

int $host_id:

File

tests/src/Unit/Helpers/FieldConfig.php, line 75

Class

FieldConfig

Namespace

Drupal\Tests\feeds_para_mapper\Unit\Helpers

Code

public function __construct($label, $name, $type, $id, $cardinality, array $settings, $paragraph_ids, $host_type, $host_bundle, $host_field, $host_id) {
  $this->label = $label;
  $this->name = $name;
  $this->type = $type;
  $this->id = $id;
  $this->cardinality = $cardinality;
  $this->settings = $settings;
  $this->paragraph_ids = $paragraph_ids;
  $this->host_type = $host_type;
  $this->host_bundle = $host_bundle;
  $this->host_field = $host_field;
  $this->host_id = $host_id;
}