You are here

public function MigrateJSONReader::key in Migrate 7.2

Implementation of Iterator::key().

Return value

null|string

File

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