You are here

public function EmptySource::__toString in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/EmptySource.php \Drupal\migrate\Plugin\migrate\source\EmptySource::__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/EmptySource.php, line 51

Class

EmptySource
Source returning a row based on the constants provided.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function __toString() {
  return '';
}