function MigrateSourceInterface::__toString
Same name in other branches
- 9 core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::__toString()
- 8.9.x core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::__toString()
- 10 core/modules/migrate/src/Plugin/MigrateSourceInterface.php \Drupal\migrate\Plugin\MigrateSourceInterface::__toString()
Allows class to decide how it will react when it is treated like a string.
6 methods override MigrateSourceInterface::__toString()
- ContentEntity::__toString in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ ContentEntity.php - EmbeddedDataSource::__toString in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmbeddedDataSource.php - EmptySource::__toString in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ EmptySource.php - Allows class to decide how it will react when it is treated like a string.
- MigrateExternalTranslatedTestSource::__toString in core/
modules/ migrate/ tests/ modules/ migrate_external_translated_test/ src/ Plugin/ migrate/ source/ MigrateExternalTranslatedTestSource.php - Allows class to decide how it will react when it is treated like a string.
- SqlBase::__toString in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Prints the query string when the object is used as a string.
File
-
core/
modules/ migrate/ src/ Plugin/ MigrateSourceInterface.php, line 48
Class
- MigrateSourceInterface
- Defines an interface for migrate sources.
Namespace
Drupal\migrate\PluginCode
public function __toString();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.