public function MigrateSourceUserReference::getNextRow in Relation 7
Same name and namespace in other branches
- 8.2 relation_migrate/relation_migrate.source.inc \MigrateSourceUserReference::getNextRow()
- 8 relation_migrate/relation_migrate.source.inc \MigrateSourceUserReference::getNextRow()
Fetch the next row of data, returning it as an object. Return FALSE when there is no more data available.
File
- relation_migrate/
relation_migrate.source.inc, line 204 - Source plugin for *reference fields.
Class
- MigrateSourceUserReference
- Source migration plugin for user_reference.
Code
public function getNextRow() {
if (!empty($this->result[$this->next_row])) {
$item = $this->result[$this->next_row];
$this->next_row++;
return $this
->_constructRow($item, 'user', $item->field_name);
}
return FALSE;
}