Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateStubInterface.php

function MigrateStubInterface::createStub

Creates a stub.

Parameters

string $migration_id: The migration to stub.

array $source_ids: An array of source ids.

array $default_values: (optional) An array of default values to add to the stub.

Return value

array|false An array of destination ids for the new stub, keyed by destination id key, or false if the stub failed.

File

core/modules/migrate/src/MigrateStubInterface.php, line 24

Class

MigrateStubInterface
Provides an interface for the migrate stub service.

Namespace

Drupal\migrate

Code

public function createStub($migration_id, array $source_ids, array $default_values = []);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal