public function DataParserPluginBase::getDataFetcherPlugin in Migrate Plus 8.3
Same name and namespace in other branches
- 8.5 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::getDataFetcherPlugin()
- 8 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::getDataFetcherPlugin()
- 8.2 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::getDataFetcherPlugin()
- 8.4 src/DataParserPluginBase.php \Drupal\migrate_plus\DataParserPluginBase::getDataFetcherPlugin()
Returns the initialized data fetcher plugin.
Return value
\Drupal\migrate_plus\DataFetcherPluginInterface The data fetcher plugin.
File
- src/
DataParserPluginBase.php, line 82
Class
- DataParserPluginBase
- Defines a base data parser implementation.
Namespace
Drupal\migrate_plusCode
public function getDataFetcherPlugin() {
if (!isset($this->dataFetcherPlugin)) {
$this->dataFetcherPlugin = \Drupal::service('plugin.manager.migrate_plus.data_fetcher')
->createInstance($this->configuration['data_fetcher_plugin'], $this->configuration);
}
return $this->dataFetcherPlugin;
}