You are here

public function OperationInterface::contents in Drupal 8

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