3 namespace Drupal\migrate\Audit;
6 * Defines an interface for destination and ID maps which track a highest ID.
8 * When implemented by destination plugins, getHighestId() should return the
9 * highest ID of the destination entity type that exists in the system. So, for
10 * example, the entity:node plugin should return the highest node ID that
11 * exists, regardless of whether it was created by a migration.
13 * When implemented by an ID map, getHighestId() should return the highest
14 * migrated ID of the destination entity type.
16 interface HighestIdInterface {
19 * Returns the highest ID tracked by the implementing plugin.
24 public function getHighestId();