You are here

public function SourcePluginBase::valid in Zircon Profile 8

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

Whether the iterator is currently valid.

Implementation of Iterator::valid() - called at the top of the loop, returning TRUE to process the loop and FALSE to terminate it

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 248
Contains \Drupal\migrate\Plugin\migrate\source\SourcePluginBase.

Class

SourcePluginBase
The base class for all source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function valid() {
  return isset($this->currentRow);
}