private function DefaultContentDeployCommands::displayExportResult in Default Content Deploy 8
Display info before/after export.
Parameters
$result: Array with entity types.
3 calls to DefaultContentDeployCommands::displayExportResult()
- DefaultContentDeployCommands::contentDeployExport in src/
Commands/ DefaultContentDeployCommands.php - Exports a single entity or group of entities.
- DefaultContentDeployCommands::contentDeployExportSite in src/
Commands/ DefaultContentDeployCommands.php - Exports a whole site content.
- DefaultContentDeployCommands::contentDeployExportWithReferences in src/
Commands/ DefaultContentDeployCommands.php - Exports a single entity with references.
File
- src/
Commands/ DefaultContentDeployCommands.php, line 336
Class
- DefaultContentDeployCommands
- Class DefaultContentDeployCommands.
Namespace
Drupal\default_content_deploy\CommandsCode
private function displayExportResult($result) {
foreach ($result as $entity_type => $value) {
$this->logger
->notice(dt('Exported @count entities of the "@entity_type" entity type.', [
'@count' => count($value),
'@entity_type' => $entity_type,
MB_CASE_TITLE,
]));
}
}