code: function () {
        var srcFiles = path.resolve(
          this.templatePath('drupal'),
          options.drupalDistro.id,
          options.drupalDistroVersion
        );
  
        if (gadget.fsExistsSync(srcFiles)) {
          this.fs.copy(
            path.resolve(srcFiles),
            this.destinationRoot(),
            {
              globOptions: { dot: true }
            }
          );
        }
  
        this.composer = options.drupalDistro.loadComposer(this, options);
      }
docs: This has been moved up from writing because the details of some of these files may need to be loaded as part of configuring other write operations, and the parallelization model for generator composition requires dependencies to be handled in an earlier priority context.