first commit

This commit is contained in:
2024-07-15 12:33:27 +02:00
commit ce50ae282b
22084 changed files with 2623791 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Consolidation\SiteAlias;
use \Drush\Config\Environment;
trait FixtureFactory
{
protected function fixturesDir()
{
return dirname(__DIR__) . '/fixtures';
}
protected function homeDir()
{
return $this->fixturesDir() . '/home';
}
// It is still an aspirational goal to add Drupal 7 support back to Drush. :P
// For now, only Drupal 8 is supported.
protected function siteDir($majorVersion = '8')
{
return $this->fixturesDir() . '/sites/d' . $majorVersion;
}
}