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

Breadcrumb

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

function OperationData::__construct

OperationData constructor.

Parameters

string $destination: The destination path.

mixed $data: The raw data array to wrap.

File

composer/Plugin/Scaffold/Operations/OperationData.php, line 42

Class

OperationData
Holds parameter data for operation objects during operation creation only.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function __construct($destination, $data) {
    $this->destination = $destination;
    $this->data = $this->normalizeScaffoldMetadata($destination, $data);
}
RSS feed
Powered by Drupal