You are here

public function Sql::valid in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::valid()
  2. 9 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::valid()
2 calls to Sql::valid()
Sql::currentDestination in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Looks up the destination identifier currently being iterated.
Sql::currentSource in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Looks up the source identifier(s) currently being iterated.

File

core/modules/migrate/src/Plugin/migrate/id_map/Sql.php, line 992

Class

Sql
Defines the sql based ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

public function valid() {
  return $this->currentRow !== FALSE;
}