function SkipOp::process
Same name in other branches
- 8.9.x composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::process()
- 10 composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::process()
- 11.x composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::process()
Overrides OperationInterface::process
File
-
composer/
Plugin/ Scaffold/ Operations/ SkipOp.php, line 48
Class
- SkipOp
- Scaffold operation to skip a scaffold file (do nothing).
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function process(ScaffoldFilePath $destination, IOInterface $io, ScaffoldOptions $options) {
$interpolator = $destination->getInterpolator();
$io->write($interpolator->interpolate($this->message));
return new ScaffoldResult($destination, FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.