function AbstractOperation::generateContents
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::generateContents()
- 8.9.x composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::generateContents()
- 10 composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::generateContents()
Load the scaffold contents or otherwise generate what is needed.
Return value
string The contents of the scaffold file.
1 call to AbstractOperation::generateContents()
- AbstractOperation::contents in composer/
Plugin/ Scaffold/ Operations/ AbstractOperation.php
3 methods override AbstractOperation::generateContents()
- AppendOp::generateContents in composer/
Plugin/ Scaffold/ Operations/ AppendOp.php - ReplaceOp::generateContents in composer/
Plugin/ Scaffold/ Operations/ ReplaceOp.php - SkipOp::generateContents in composer/
Plugin/ Scaffold/ Operations/ SkipOp.php
File
-
composer/
Plugin/ Scaffold/ Operations/ AbstractOperation.php, line 37
Class
- AbstractOperation
- Provides default behaviors for operations.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
protected abstract function generateContents();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.