You are here

public function Spreadsheet::__toString in Migrate Spreadsheet 2.0.x

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

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

Overrides MigrateSourceInterface::__toString

File

src/Plugin/migrate/source/Spreadsheet.php, line 126

Class

Spreadsheet
Provides a source plugin that migrate from spreadsheet files.

Namespace

Drupal\migrate_spreadsheet\Plugin\migrate\source

Code

public function __toString() : string {
  return $this->configuration['file'] . ':' . $this->configuration['worksheet'];
}