public function ImportProcessorBase::preprocess in YAML Content 8.2
Pre-process import data and manipulate it prior to content creation.
Parameters
array $import_data: The data array being processed for content import.
Overrides ImportProcessorInterface::preprocess
4 methods override ImportProcessorBase::preprocess()
- DebugImportProcessor::preprocess in src/
Plugin/ YamlContent/ DebugImportProcessor.php - Pre-process import data and manipulate it prior to content creation.
- EntityReferenceImportProcessor::preprocess in src/
Plugin/ YamlContent/ EntityReferenceImportProcessor.php - Pre-process import data and manipulate it prior to content creation.
- SampleDataProcessor::preprocess in modules/
sample_data/ src/ Plugin/ YamlContent/ SampleDataProcessor.php - Pre-process import data and manipulate it prior to content creation.
- TemplateProcessor::preprocess in src/
Plugin/ YamlContent/ TemplateProcessor.php - Pre-process import data and manipulate it prior to content creation.
File
- src/
ImportProcessorBase.php, line 24
Class
- ImportProcessorBase
- A base implementation of a content import processor.
Namespace
Drupal\yaml_contentCode
public function preprocess(array &$import_data) {
}