You are here

public function ScaffoldOptions::fileMapping in Drupal 9

Same name and namespace in other branches
  1. 8 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::fileMapping()
  2. 10 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::fileMapping()

Returns the actual file mappings.

Return value

array File mappings for just this config type.

1 call to ScaffoldOptions::fileMapping()
ScaffoldOptions::hasFileMapping in composer/Plugin/Scaffold/ScaffoldOptions.php
Determines if there are file mappings.

File

composer/Plugin/Scaffold/ScaffoldOptions.php, line 179

Class

ScaffoldOptions
Per-project options from the 'extras' section of the composer.json file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function fileMapping() {
  return $this->options['file-mapping'];
}