You are here

protected function InstallStorage::getCoreFolder in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 call to InstallStorage::getCoreFolder()
InstallStorage::getCoreNames in core/lib/Drupal/Core/Config/InstallStorage.php
Get all configuration names and folders for Drupal 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();
}