function 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
abstract protected function generateContents();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.