W3cubDocs

/Drupal 8

protected function InstallStorage::getCoreFolder

protected 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 257

Class

InstallStorage
Storage used by the Drupal installer.

Namespace

Drupal\Core\Config

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!InstallStorage.php/function/InstallStorage::getCoreFolder/8.1.x