function OperationInterface::contents

Same name in other branches
  1. 9 composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::contents()
  2. 8.9.x composer/Plugin/Scaffold/Operations/OperationInterface.php \Drupal\Composer\Plugin\Scaffold\Operations\OperationInterface::contents()
  3. 11.x 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
Returns the exact data that will be written to the scaffold files.

File

composer/Plugin/Scaffold/Operations/OperationInterface.php, line 22

Class

OperationInterface
Interface for scaffold operation objects.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function contents();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.