You are here

protected function SkipOp::generateContents in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Plugin/Scaffold/Operations/SkipOp.php \Drupal\Composer\Plugin\Scaffold\Operations\SkipOp::generateContents()
  2. 10 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 '';
}