You are here

public function EntityExportCsv::setFields in Entity Export CSV 8

Set the fields configuration.

Parameters

array $fields: The fields configuration.

Return value

$this The config entity.

Overrides EntityExportCsvInterface::setFields

File

src/Entity/EntityExportCsv.php, line 169

Class

EntityExportCsv
Defines the Entity export csv entity.

Namespace

Drupal\entity_export_csv\Entity

Code

public function setFields(array $fields) {
  $this->fields = $fields;
  return $this;
}