/**
  * Constructs a CckBuilder.
  *
  * @param array $configuration
  *   Plugin configuration.
  * @param string $plugin_id
  *   The plugin ID.
  * @param mixed $plugin_definition
  *   The plugin definition.
  * @param \Drupal\migrate\Plugin\MigratePluginManager $cck_manager
  *   The cckfield plugin manager.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition, MigratePluginManager $cck_manager)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->cckPluginManager = $cck_manager;
 }
Example #2
0
 /**
  * Constructs a TermNode builder.
  *
  * @param array $configuration
  *   Plugin configuration.
  * @param string $plugin_id
  *   The plugin ID.
  * @param mixed $plugin_definition
  *   The plugin definition.
  * @param \Drupal\migrate\MigrateTemplateStorageInterface $template_storage
  *   The migration template storage handler.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrateTemplateStorageInterface $template_storage)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->templateStorage = $template_storage;
 }
Example #3
0
 /**
  * Constructs a d7_user builder plugin instance.
  *
  * @param array $configuration
  *   The plugin configuration.
  * @param string $plugin_id
  *   The plugin ID.
  * @param mixed $plugin_definition
  *   The plugin definition.
  * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
  *   The module handler service.
  */
 public function __construct(array $configuration, $plugin_id, $plugin_definition, ModuleHandlerInterface $module_handler)
 {
     parent::__construct($configuration, $plugin_id, $plugin_definition);
     $this->moduleHandler = $module_handler;
 }