You are here

public function MigrateXMLReader::key in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/xml.inc \MigrateXMLReader::key()

Implementation of Iterator::key().

Return value

null|string

File

plugins/sources/xml.inc, line 800
Support for migration from XML sources.

Class

MigrateXMLReader
Makes an XMLReader object iterable, returning elements matching a restricted xpath-like syntax.

Code

public function key() {
  return $this->currentId;
}