function EntityRevisionTestDestination::getEntity
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityRevisionTestDestination::getEntity()
- 10 core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityRevisionTestDestination::getEntity()
- 11.x core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\Plugin\migrate\destination\EntityRevisionTestDestination::getEntity()
Overrides EntityRevision::getEntity
File
-
core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityRevisionTest.php, line 104
Class
- EntityRevisionTestDestination
- Stub class for testing EntityRevision methods.
Namespace
Drupal\Tests\migrate\Unit\Plugin\migrate\destinationCode
protected function getEntity(Row $row, array $old_destination_id_values) {
return $this->entity;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.