You are here

protected function ContentExporter::processCommerce in Commerce Demo 8.2

Same name and namespace in other branches
  1. 8 src/ContentExporter.php \Drupal\commerce_demo\ContentExporter::processCommerce()

Processes the exported Commerce entity.

Parameters

array $export: The export array.

\Drupal\Core\Entity\ContentEntityInterface $entity: The Commerce entity.

Return value

array The processed export array.

1 call to ContentExporter::processCommerce()
ContentExporter::export in src/ContentExporter.php
Exports the given entity.

File

src/ContentExporter.php, line 188

Class

ContentExporter
Defines the content exporter.

Namespace

Drupal\commerce_demo

Code

protected function processCommerce(array $export, ContentEntityInterface $entity) {
  return $export;
}