You are here

public function OperationData::default in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::default()
  2. 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::default()

Gets default path.

Return value

string Path to default data

File

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

Class

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

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function default() {
  return $this->data[self::DEFAULT];
}