public function EntityRevision::getEntity in Drupal 8
Same name in this branch
- 8 core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\destination\EntityRevision::getEntity()
- 8 core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php \Drupal\migrate\Plugin\migrate\destination\EntityRevision::getEntity()
Same name and namespace in other branches
- 9 core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\destination\EntityRevision::getEntity()
Allow public access for testing.
Overrides EntityRevision::getEntity
File
- core/
modules/ migrate/ tests/ src/ Unit/ destination/ EntityRevisionTest.php, line 211 - Contains \Drupal\Tests\migrate\Unit\destination\EntityRevisionTest.
Class
- EntityRevision
- Mock that exposes from internal methods for testing.
Namespace
Drupal\Tests\migrate\Unit\destinationCode
public function getEntity(Row $row, array $old_destination_id_values) {
return parent::getEntity($row, $old_destination_id_values);
}