function TestPerComponentEntityDisplay::__construct
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php \Drupal\Tests\migrate\Unit\destination\TestPerComponentEntityDisplay::__construct()
- 8.9.x core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php \Drupal\Tests\migrate\Unit\destination\TestPerComponentEntityDisplay::__construct()
- 11.x core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php \Drupal\Tests\migrate\Unit\destination\TestPerComponentEntityDisplay::__construct()
Overrides ComponentEntityDisplayBase::__construct
File
-
core/
modules/ migrate/ tests/ src/ Unit/ destination/ PerComponentEntityDisplayTest.php, line 55
Class
Namespace
Drupal\Tests\migrate\Unit\destinationCode
public function __construct($entity) {
$this->entity = $entity;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.