blob: 9b72f69532d1e19a5d3ab0131ddfc15f5aa3f0f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
namespace Drupal\migrate;
/**
* Provides an interface for the migrate stub service.
*/
interface MigrateStubInterface {
/**
* Creates a stub.
*
* @param string $migration_id
* The migration to stub.
* @param array $source_ids
* An array of source ids.
* @param array $default_values
* (optional) An array of default values to add to the stub.
*
* @return array|false
* An array of destination ids for the new stub, keyed by destination id
* key, or false if the stub failed.
*/
public function createStub($migration_id, array $source_ids, array $default_values = []);
}
|