protected function TaxonomyTermProcessor::addParentDependencie in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Plugin/content_synchronizer/entity_processor/TaxonomyTermProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\TaxonomyTermProcessor::addParentDependencie()
- 3.x src/Plugin/content_synchronizer/entity_processor/TaxonomyTermProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\TaxonomyTermProcessor::addParentDependencie()
Add parent dependencie to avoid circular dependencies.
Parameters
array $data: The child array data.
string $parentGid: The parent gid.
1 call to TaxonomyTermProcessor::addParentDependencie()
- TaxonomyTermProcessor::getEntityToImport in src/
Plugin/ content_synchronizer/ entity_processor/ TaxonomyTermProcessor.php - Return the entity to import.
File
- src/
Plugin/ content_synchronizer/ entity_processor/ TaxonomyTermProcessor.php, line 105
Class
- TaxonomyTermProcessor
- Plugin implementation of the 'accordion' formatter.
Namespace
Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processorCode
protected function addParentDependencie(array $data, $parentGid) {
static::$dependenciesBuffer[$parentGid][] = $data;
}