You are here

public function Spreadsheet::__toString in Migrate Spreadsheet 8

Same name and namespace in other branches
  1. 2.0.x 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 122

Class

Spreadsheet
Provides a source plugin that migrate from spreadsheet files.

Namespace

Drupal\migrate_spreadsheet\Plugin\migrate\source

Code

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