public function OperationData::hasDefault in Drupal 8
Same name and namespace in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasDefault()
- 10 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasDefault()
Checks if default path exists.
Return value
bool Returns true if there is default data available.
1 call to OperationData::hasDefault()
- OperationData::forceAppend in composer/
Plugin/ Scaffold/ Operations/ OperationData.php - Determines whether 'force-append' has been set.
File
- composer/
Plugin/ Scaffold/ Operations/ OperationData.php, line 154
Class
- OperationData
- Holds parameter data for operation objects during operation creation only.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function hasDefault() {
return isset($this->data[self::DEFAULT]);
}