function Drush_TestCase::drupalSitewideDirectory

6.x drush_testcase.inc Drush_TestCase::drupalSitewideDirectory($major_version = NULL)

See also

drush_drupal_sitewide_directory()

2 calls to Drush_TestCase::drupalSitewideDirectory()

File

tests/drush_testcase.inc, line 334
Initialize a sandboxed environment. Starts with call unish_init() at bottom.

Class

Drush_TestCase

Code

function drupalSitewideDirectory($major_version = NULL) {
  if (!$major_version) {
    $major_version = UNISH_DRUPAL_MAJOR_VERSION;
  }
  return ($major_version < 8) ? 'sites/all' : '';
}