You are here

public function ForwardDestinationBase::__construct in Forward 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
  2. 8.2 src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
  3. 4.x src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()
  4. 4.0.x src/Plugin/migrate/destination/ForwardDestinationBase.php \Drupal\forward\Plugin\migrate\destination\ForwardDestinationBase::__construct()

Constructs a Display Suite field plugin.

Parameters

array $configuration:

string $plugin_id:

mixed $plugin_definition:

\Drupal\migrate\Plugin\MigrationInterface $migration:

\Drupal\Core\Database $database:

Overrides DestinationBase::__construct

File

src/Plugin/migrate/destination/ForwardDestinationBase.php, line 40

Class

ForwardDestinationBase
Base class for Forward migrate destination classes.

Namespace

Drupal\forward\Plugin\migrate\destination

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
  $this->database = \Drupal::database();
}