protected function TestEntityFile::getEntity in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/file/src/Tests/Migrate/EntityFileTest.php \Drupal\file\Tests\Migrate\TestEntityFile::getEntity()
Creates or loads an entity.
Parameters
\Drupal\migrate\Row $row: The row object.
array $old_destination_id_values: The old destination ids.
Return value
\Drupal\Core\Entity\EntityInterface The entity we're importing into.
Overrides EntityFile::getEntity
File
- core/
modules/ file/ src/ Tests/ Migrate/ EntityFileTest.php, line 286 - Contains \Drupal\file\Tests\Migrate\EntityFileTest.
Class
Namespace
Drupal\file\Tests\MigrateCode
protected function getEntity(Row $row, array $old_destination_id_values) {
return $this->mockEntity;
}