You are here

public function TestPerComponentEntityFormDisplay::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php \Drupal\Tests\migrate\Unit\destination\TestPerComponentEntityFormDisplay::__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 DestinationBase::__construct

File

core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php, line 56
Contains \Drupal\Tests\migrate\Unit\destination\PerComponentEntityFormDisplayTest.

Class

TestPerComponentEntityFormDisplay

Namespace

Drupal\Tests\migrate\Unit\destination

Code

public function __construct($entity) {
  $this->entity = $entity;
}