You are here

protected function InstallStorage::getCoreFolder in Zircon Profile 8.0

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
Contains \Drupal\Core\Config\InstallStorage.

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

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