You are here

public function IdMapFilter::__construct in Migrate Tools 8.5

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

IdMapFilter constructor.

Parameters

\Drupal\migrate\Plugin\MigrateIdMapInterface $id_map: The ID map.

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

File

src/IdMapFilter.php, line 27

Class

IdMapFilter
Class to filter ID map by an ID list.

Namespace

Drupal\migrate_tools

Code

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