You are here

public function MigrateSourceMultiItems::__toString in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/sources/multiitems.inc \MigrateSourceMultiItems::__toString()

Return a string representing the source.

Return value

string

File

plugins/sources/multiitems.inc, line 121
Support for migration from sources where data spans multiple lines (ex. xml, json) and IDs for the items are part of each item and multiple items reside in a single file.

Class

MigrateSourceMultiItems
Implementation of MigrateSource, providing the semantics of iterating over IDs provided by a MigrateItems and retrieving data from a MigrateItems.

Code

public function __toString() {
  return (string) $this->itemsClass;
}