public function TestPerComponentEntityFormDisplay::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/destination/PerComponentEntityFormDisplayTest.php \Drupal\Tests\migrate\Unit\destination\TestPerComponentEntityFormDisplay::__construct()
PerComponentEntityDisplay constructor.
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.
\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository service.
Overrides ComponentEntityDisplayBase::__construct
File
- core/
modules/ migrate/ tests/ src/ Unit/ destination/ PerComponentEntityFormDisplayTest.php, line 57 - Contains \Drupal\Tests\migrate\Unit\destination\PerComponentEntityFormDisplayTest.
Class
Namespace
Drupal\Tests\migrate\Unit\destinationCode
public function __construct($entity) {
$this->entity = $entity;
}