framework/RedKiteCms/Content/BlockManager/BlockManager.php
protected function createContributorDir($sourceDir, array $options, $username)
    {
        if (null === $username) {
            return;
        }

        $this->init($sourceDir, $options, $username);
        if (is_dir($this->contributorDir)) {
            return;
        }

        $this->filesystem->copy($this->productionDir . '/slot.json', $this->contributorDir . '/slot.json', true);
        $this->filesystem->mirror($this->productionDir . '/blocks', $this->contributorDir . '/blocks');
    }
protected function createContributorDir($sourceDir, array $options, $username)
    {
        if (null === $username) {
            return;
        }

        $this->init($sourceDir, $options, $username);
        if (is_dir($this->contributorDir)) {
            return;
        }

        $this->filesystem->copy($this->productionDir . '/slot.json', $this->contributorDir . '/slot.json', true);
        $this->filesystem->mirror($this->productionDir . '/blocks', $this->contributorDir . '/blocks');
    }
Creates the contributor folder

@param string $sourceDir
@param array $options
@param string $username