function EmptySource::__construct
Overrides SourcePluginBase::__construct
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ EmptySource.php, line 46
Class
- EmptySource
- Source returning an empty row with Drupal specific config dependencies.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityTypeManagerInterface $entity_type_manager) {
@trigger_error('Migrate source plugin "md_empty" used in migration "' . $migration->id() . '" is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3533564', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition, $migration);
$this->entityTypeManager = $entity_type_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.