public function DebugImportProcessor::postprocess in YAML Content 8.2
Post-process imported content after it has been instantiated.
Parameters
array $import_data: The data array that was processed to create the imported content item.
mixed $imported_content: The instantiated content element from the original content data array.
Overrides ImportProcessorBase::postprocess
File
- src/
Plugin/ YamlContent/ DebugImportProcessor.php, line 27
Class
- DebugImportProcessor
- Import processor to support entity queries and references.
Namespace
Drupal\yaml_content\Plugin\YamlContentCode
public function postprocess(array &$import_data, &$imported_content) {
dpm([
'Import data' => $import_data,
'Imported content' => $imported_content,
], 'Debug Import Processor: Post-process');
}