Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SkipOp.php

function SkipOp::process

Overrides OperationInterface::process

File

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

Class

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

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function process(ScaffoldFilePath $destination, IOInterface $io, ScaffoldOptions $options) {
    $interpolator = $destination->getInterpolator();
    $io->write($interpolator->interpolate($this->message));
    return new ScaffoldResult($destination, FALSE);
}
RSS feed
Powered by Drupal