function OperationInterface::contents
Same name in other branches
- 9 composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::contents()
- 8.9.x composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::contents()
- 10 composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::contents()
Returns the exact data that will be written to the scaffold files.
Return value
string Data to be written to the scaffold location.
1 method overrides OperationInterface::contents()
- AbstractOperation::contents in composer/
Plugin/ Scaffold/ Operations/ AbstractOperation.php
File
-
composer/
Plugin/ Scaffold/ Operations/ OperationInterface.php, line 22
Class
- OperationInterface
- Interface for scaffold operation objects.
Namespace
Drupal\Composer\Plugin\Scaffold\OperationsCode
public function contents();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.