You are here

public function EmbeddedDataSource::__toString in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php \Drupal\migrate\Plugin\migrate\source\EmbeddedDataSource::__toString()

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

Overrides MigrateSourceInterface::__toString

File

core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php, line 102

Class

EmbeddedDataSource
Allows source data to be defined in the configuration of the source plugin.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function __toString() {
  return 'Embedded data';
}