You are here

protected function TestEntityFile::save in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/file/src/Tests/Migrate/EntityFileTest.php \Drupal\file\Tests\Migrate\TestEntityFile::save()

Save the entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.

array $old_destination_id_values: An array of destination id values.

Return value

array An array containing the entity id.

Overrides EntityContentBase::save

File

core/modules/file/src/Tests/Migrate/EntityFileTest.php, line 293
Contains \Drupal\file\Tests\Migrate\EntityFileTest.

Class

TestEntityFile

Namespace

Drupal\file\Tests\Migrate

Code

protected function save(ContentEntityInterface $entity, array $old_destination_id_values = array()) {
}