You are here

protected function InstallStorage::getCoreFolder in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::getCoreFolder()
  2. 9 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::getCoreFolder()

Get folder inside Drupal core that contains the files.

Return value

string The configuration folder name for core.

File

core/lib/Drupal/Core/Config/InstallStorage.php, line 260

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

protected function getCoreFolder() {
  return 'core/' . $this
    ->getCollectionDirectory();
}