function ScaffoldOptions::gitIgnore
Same name in other branches
- 8.9.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::gitIgnore()
- 10 composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::gitIgnore()
- 11.x composer/Plugin/Scaffold/ScaffoldOptions.php \Drupal\Composer\Plugin\Scaffold\ScaffoldOptions::gitIgnore()
Gets the value of the 'gitignore' option.
Return value
bool The 'gitignore' option, or TRUE if undefined.
File
-
composer/
Plugin/ Scaffold/ ScaffoldOptions.php, line 199
Class
- ScaffoldOptions
- Per-project options from the 'extras' section of the composer.json file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function gitIgnore() {
return $this->hasGitIgnore() ? $this->options['gitignore'] : TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.