You are here

public function Yaml::__toString in Migrate Source YAML 8

Return a string representing the source query.

Return value

string The file path.

Overrides MigrateSourceInterface::__toString

File

src/Plugin/migrate/source/Yaml.php, line 77

Class

Yaml
Migrate source plugin for Yaml.

Namespace

Drupal\migrate_source_yaml\Plugin\migrate\source

Code

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