You are here

public function MigrateJSONReader::current in Migrate 7.2

Implementation of Iterator::current().

Return value

null|object

File

plugins/sources/json.inc, line 375
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 current() {
  return $this->currentElement;
}