You are here

public function IdMapFilter::accept in Migrate Tools 8.4

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

File

src/IdMapFilter.php, line 35

Class

IdMapFilter
Class to filter ID map by an ID list.

Namespace

Drupal\migrate_tools

Code

public function accept() {

  // Row is included.
  if (empty($this->idList) || in_array(array_values($this
    ->getInnerIterator()
    ->currentSource()), $this->idList)) {
    return TRUE;
  }
}