You are here

protected function InstallStorage::getCoreFolder in Drupal 8

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

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 256

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

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