You are here

public function DestinationBase::__construct in Zircon Profile 8

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

MigrationInterface $migration: The migration.

Overrides PluginBase::__construct

6 calls to DestinationBase::__construct()
BlockedIP::__construct in core/modules/ban/src/Plugin/migrate/destination/BlockedIp.php
Constructs a BlockedIP object.
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.
ShortcutSetUsers::__construct in core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php
Constructs an entity destination plugin.
UrlAlias::__construct in core/modules/path/src/Plugin/migrate/destination/UrlAlias.php
Constructs an entity destination plugin.

... See full list

8 methods override DestinationBase::__construct()
BlockedIP::__construct in core/modules/ban/src/Plugin/migrate/destination/BlockedIp.php
Constructs a BlockedIP object.
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.
ShortcutSetUsers::__construct in core/modules/shortcut/src/Plugin/migrate/destination/ShortcutSetUsers.php
Constructs an entity destination plugin.
TestPerComponentEntityDisplay::__construct in core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
Constructs an entity destination plugin.

... See full list

File

core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php, line 63
Contains \Drupal\migrate\Plugin\migrate\destination\DestinationBase.

Class

DestinationBase
Base class for migrate destination classes.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->migration = $migration;
}