You are here

public function EntityRevision::save in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\destination\EntityRevision::save()
  2. 8 core/modules/migrate/src/Plugin/migrate/destination/EntityRevision.php \Drupal\migrate\Plugin\migrate\destination\EntityRevision::save()
Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php \Drupal\Tests\migrate\Unit\destination\EntityRevision::save()

Allow public access for testing.

Overrides EntityRevision::save

File

core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php, line 214
Contains \Drupal\Tests\migrate\Unit\destination\EntityRevisionTest.

Class

EntityRevision
Mock that exposes from internal methods for testing.

Namespace

Drupal\Tests\migrate\Unit\destination

Code

public function save(ContentEntityInterface $entity, array $old_destination_id_values = array()) {
  return parent::save($entity, $old_destination_id_values);
}