You are here

public function SourceFilter::__construct in Migrate Tools 8.4

Same name and namespace in other branches
  1. 8.5 src/SourceFilter.php \Drupal\migrate_tools\SourceFilter::__construct()

SourceFilter constructor.

Parameters

\Drupal\migrate\Plugin\MigrateSourceInterface $source: The ID map.

array $id_list: The id list to use in the filter.

File

src/SourceFilter.php, line 28

Class

SourceFilter
Class to filter source by an ID list.

Namespace

Drupal\migrate_tools

Code

public function __construct(MigrateSourceInterface $source, array $id_list) {
  parent::__construct($source);
  $this->idList = $id_list;
}