public function ForwardDestinationBase::__construct in Forward 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
- 8 src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
- 8.2 src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
- 4.x src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
Base class for forward migrate destination classes.
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.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
Overrides DestinationBase::__construct
File
- src/
Plugin/ migrate/ destination/ ForwardDestinationBase.php, line 39
Class
- ForwardDestinationBase
- Base class for Forward migrate destination classes.
Namespace
Drupal\forward\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->database = \Drupal::database();
}