function InstallStorage::getCoreFolder

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::getCoreFolder()
  2. 10 core/lib/Drupal/Core/Config/InstallStorage.php \Drupal\Core\Config\InstallStorage::getCoreFolder()
  3. 11.x 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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.