You are here

public function PhotosCount::__construct in Album Photos 8.5

Same name and namespace in other branches
  1. 6.0.x src/Plugin/migrate/destination/PhotosCount.php \Drupal\photos\Plugin\migrate\destination\PhotosCount::__construct()

Constructs a PhotosImage object.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\migrate\Plugin\MigrationInterface $migration: The current migration.

\Drupal\Core\Database\Connection $connection: The database connection.

Overrides DestinationBase::__construct

File

src/Plugin/migrate/destination/PhotosCount.php, line 43

Class

PhotosCount
Photos count migration destination.

Namespace

Drupal\photos\Plugin\migrate\destination

Code

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