public function MigrateJSONReader::valid in Migrate 7.2
Implementation of Iterator::valid().
Return value
bool
File
- plugins/
sources/ json.inc, line 393 - Support for migration from JSON sources.
Class
- MigrateJSONReader
- An iterator over a JSON file. As is, this assumes that the file is structured as an array of objects,…
Code
public function valid() {
return !empty($this->currentElement);
}