function SkipOp::__construct

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

SkipOp constructor.

Parameters

string $message: (optional) A custom message to output while skipping.

File

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

Class

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

Namespace

Drupal\Composer\Plugin\Scaffold\Operations

Code

public function __construct($message = "  - Skip <info>[dest-rel-path]</info>: disabled") {
    $this->message = $message;
}

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