function AbstractOperation::scaffoldOverExistingTarget

Same name in other branches
  1. 9 composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::scaffoldOverExistingTarget()
  2. 8.9.x composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::scaffoldOverExistingTarget()
  3. 11.x composer/Plugin/Scaffold/Operations/AbstractOperation.php \Drupal\Composer\Plugin\Scaffold\Operations\AbstractOperation::scaffoldOverExistingTarget()

Overrides OperationInterface::scaffoldOverExistingTarget

1 method overrides AbstractOperation::scaffoldOverExistingTarget()
AppendOp::scaffoldOverExistingTarget in composer/Plugin/Scaffold/Operations/AppendOp.php
Determines what to do if operation is used at same path as a previous op.

File

composer/Plugin/Scaffold/Operations/AbstractOperation.php, line 42

Class

AbstractOperation
Provides default behaviors for operations.

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function scaffoldOverExistingTarget(OperationInterface $existing_target) {
    return $this;
}

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