FieldConfig.php in Feeds Paragraphs 8
File
tests/src/Unit/Helpers/FieldConfig.php
View source
<?php
namespace Drupal\Tests\feeds_para_mapper\Unit\Helpers;
class FieldConfig {
public $label;
public $name;
public $type;
public $id;
public $cardinality;
public $settings;
public $host_type;
public $host_bundle;
public $host_field;
public $host_id;
public $paragraph_ids;
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;
}
}