public function MigrateSQLMap::key in Migrate 6.2
Same name and namespace in other branches
- 7.2 plugins/sources/sqlmap.inc \MigrateSQLMap::key()
Implementation of Iterator::key - called when entering a loop iteration, returning the key of the current row. It must be a scalar - we will serialize to fulfill the requirement, but using getCurrentKey() is preferable.
File
- plugins/
sources/ sqlmap.inc, line 611 - Defines a Drupal db-based implementation of MigrateMap.
Class
- MigrateSQLMap
- @file Defines a Drupal db-based implementation of MigrateMap.
Code
public function key() {
return serialize($this->currentKey);
}