public function OperationData::hasPrepend in Drupal 8
Same name and namespace in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasPrepend()
- 10 composer/Plugin/Scaffold/Operations/OperationData.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationData::hasPrepend()
Checks if prepend path exists.
Return value
bool Returns true if prepend exists.
File
- composer/
Plugin/ Scaffold/ Operations/ OperationData.php, line 114
Class
- OperationData
- Holds parameter data for operation objects during operation creation only.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function hasPrepend() {
return isset($this->data[self::PREPEND]);
}