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

Breadcrumb

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

function MigrateDestination::__construct

Constructs a migrate destination plugin attribute object.

Parameters

string $id: A unique identifier for the destination plugin.

bool $requirements_met: (optional) Whether requirements are met.

string|null $destination_module: (optional) Identifies the system handling the data the destination plugin will write. The destination plugin itself determines how the value is used. For example, Migrate's destination plugins expect destination_module to be the name of a module that must be installed on the destination.

class-string|null $deriver: (optional) The deriver class.

Overrides Plugin::__construct

File

core/modules/migrate/src/Attribute/MigrateDestination.php, line 44

Class

MigrateDestination
Defines a MigrateDestination attribute.

Namespace

Drupal\migrate\Attribute

Code

public function __construct(string $id, bool $requirements_met = TRUE, ?string $destination_module = NULL, ?string $deriver = NULL) {
}
RSS feed
Powered by Drupal