You are here

public function ScaffoldOptions::fileMapping in Drupal 8

Same name and namespace in other branches
  1. 9 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'];
}