8.5.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.0.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.1.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.2.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.3.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.4.x MigrateSourceInterface.php MigrateSourceInterface::__toString()
8.6.x MigrateSourceInterface.php MigrateSourceInterface::__toString()

Allows class to decide how it will react when it is treated like a string.

5 methods override MigrateSourceInterface::__toString()
EmbeddedDataSource::__toString in core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php
Allows class to decide how it will react when it is treated like a string.
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.
StubSourcePlugin::__toString in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Allows class to decide how it will react when it is treated like a string.

File

core/modules/migrate/src/Plugin/MigrateSourceInterface.php, line 43

Class

MigrateSourceInterface
Defines an interface for migrate sources.

Namespace

Drupal\migrate\Plugin

Code

public function __toString();