Same name and namespace in other branches
  1. 8.9.x composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::generateContents()
  2. 9 composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::generateContents()

Load the scaffold contents or otherwise generate what is needed.

Return value

string The contents of the scaffold file.

Overrides AbstractOperation::generateContents

File

composer/Plugin/Scaffold/Operations/SkipOp.php, line 41

Class

SkipOp
Scaffold operation to skip a scaffold file (do nothing).

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

protected function generateContents() {
  return '';
}