function OperationData::overwrite
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::overwrite()
- 10 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::overwrite()
- 11.x composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::overwrite()
Determines overwrite.
Return value
bool Returns true if overwrite mode was selected.
File
-
composer/
Plugin/ Scaffold/ Operations/ OperationData.php, line 91
Class
- OperationData
- Holds parameter data for operation objects during operation creation only.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function overwrite() {
return !empty($this->data[self::OVERWRITE]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.