You are here

public function EntityExportCsvManagerInterface::sortNaturalFields in Entity Export CSV 8

Sort the fields given the fields configuration default value order.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface[] $fields: An array of field definition keyed by the field name.

array $default_values: An array of field values configuration keyed by the field name.

1 method overrides EntityExportCsvManagerInterface::sortNaturalFields()
EntityExportCsvManager::sortNaturalFields in src/EntityExportCsvManager.php
Sort the fields given the fields configuration default value order.

File

src/EntityExportCsvManagerInterface.php, line 133

Class

EntityExportCsvManagerInterface
Interface EntityExportCsvManagerInterface.

Namespace

Drupal\entity_export_csv

Code

public function sortNaturalFields(array &$fields, array $default_values);