public function FeaturesGenerationWrite::__construct in Features 8.4
Same name and namespace in other branches
- 8.3 src/Plugin/FeaturesGeneration/FeaturesGenerationWrite.php \Drupal\features\Plugin\FeaturesGeneration\FeaturesGenerationWrite::__construct()
Creates a new FeaturesGenerationWrite instance.
Parameters
string $root: The app root.
\Drupal\Core\File\FileSystemInterface $fileSystem: The filesystem service.
File
- src/
Plugin/ FeaturesGeneration/ FeaturesGenerationWrite.php, line 51
Class
- FeaturesGenerationWrite
- Class for writing packages to the local file system.
Namespace
Drupal\features\Plugin\FeaturesGenerationCode
public function __construct($root, FileSystemInterface $fileSystem) {
$this->root = $root;
$this->fileSystem = $fileSystem;
}