function ScaffoldOptions::hasFileMapping
Same name in other branches
- 8.9.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::hasFileMapping()
- 10 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::hasFileMapping()
- 11.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::hasFileMapping()
Determines if there are file mappings.
Return value
bool Whether or not the scaffold options contain any file mappings
File
-
composer/
Plugin/ Scaffold/ ScaffoldOptions.php, line 169
Class
- ScaffoldOptions
- Per-project options from the 'extras' section of the composer.json file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function hasFileMapping() {
return !empty($this->fileMapping());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.