public function TypeProcessorBase::__construct in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Processors/Type/TypeProcessorBase.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorBase::__construct()
- 3.x src/Processors/Type/TypeProcessorBase.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorBase::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
Overrides PluginBase::__construct
1 call to TypeProcessorBase::__construct()
- EntityReferenceFieldItemListProcessor::__construct in src/
Plugin/ content_synchronizer/ type_processor/ EntityReferenceFieldItemListProcessor.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides TypeProcessorBase::__construct()
- EntityReferenceFieldItemListProcessor::__construct in src/
Plugin/ content_synchronizer/ type_processor/ EntityReferenceFieldItemListProcessor.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
File
- src/
Processors/ Type/ TypeProcessorBase.php, line 33
Class
- TypeProcessorBase
- The type processor Base.
Namespace
Drupal\content_synchronizer\Processors\TypeCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
/** @var \Drupal\content_synchronizer\Processors\Entity\EntityProcessorPluginManager $pluginManager */
$this->pluginManager = \Drupal::service(EntityProcessorPluginManager::SERVICE_NAME);
$this->referenceManager = \Drupal::service(GlobalReferenceManager::SERVICE_NAME);
}