function ScaffoldOptions::fileMapping

Same name in other branches
  1. 8.9.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::fileMapping()
  2. 10 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::fileMapping()
  3. 11.x 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'];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.