You are here

public function Sql::valid in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::valid()

Implementation of Iterator::valid().

This is called at the top of the loop, returning TRUE to process the loop and FALSE to terminate it.

1 call to Sql::valid()
Sql::currentDestination in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
@inheritdoc

File

core/modules/migrate/src/Plugin/migrate/id_map/Sql.php, line 821
Contains \Drupal\migrate\Plugin\migrate\id_map\Sql.

Class

Sql
Defines the sql based ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

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