function AbstractOperation::contents
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::contents()
- 8.9.x composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::contents()
- 11.x composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::contents()
Overrides OperationInterface::contents
2 calls to AbstractOperation::contents()
- AppendOp::process in composer/
Plugin/ Scaffold/ Operations/ AppendOp.php - Process this scaffold operation.
- ReplaceOp::copyScaffold in composer/
Plugin/ Scaffold/ Operations/ ReplaceOp.php - Copies the scaffold file.
File
-
composer/
Plugin/ Scaffold/ Operations/ AbstractOperation.php, line 24
Class
- AbstractOperation
- Provides default behaviors for operations.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public final function contents() {
if (!isset($this->contents)) {
$this->contents = $this->generateContents();
}
return $this->contents;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.