You are here

public function EntityRevisionTestDestination::setEntity in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityRevisionTestDestination::setEntity()

File

core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php, line 100

Class

EntityRevisionTestDestination
Stub class for testing EntityRevision methods.

Namespace

Drupal\Tests\migrate\Unit\Plugin\migrate\destination

Code

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