function DestinationBase::__construct
Same name in other branches
- 9 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::__construct()
- 8.9.x core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::__construct()
- 10 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::__construct()
Constructs an entity destination plugin.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration.
8 methods override DestinationBase::__construct()
- BlockedIp::__construct in core/
modules/ ban/ src/ Plugin/ migrate/ destination/ BlockedIp.php - Constructs a BlockedIp object.
- ComponentEntityDisplayBase::__construct in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ ComponentEntityDisplayBase.php - PerComponentEntityDisplay constructor.
- Config::__construct in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - Constructs a Config destination object.
- Entity::__construct in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Entity.php - Construct a new entity.
- NodeCounter::__construct in core/
modules/ statistics/ src/ Plugin/ migrate/ destination/ NodeCounter.php - Constructs a node counter plugin.
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ DestinationBase.php, line 64
Class
- DestinationBase
- Base class for migrate destination classes.
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->migration = $migration;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.