public function FileStorage::getFilePath

Returns the path to the configuration file.

Return value

string The path to the configuration file.

5 calls to FileStorage::getFilePath()
FileStorage::delete in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::delete().
FileStorage::exists in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::exists().
FileStorage::read in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::read().
FileStorage::rename in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::rename().
FileStorage::write in drupal/core/lib/Drupal/Core/Config/FileStorage.php
Implements Drupal\Core\Config\StorageInterface::write().
1 method overrides FileStorage::getFilePath()

File

drupal/core/lib/Drupal/Core/Config/FileStorage.php, line 55
Definition of Drupal\Core\Config\FileStorage.

Class

FileStorage
Defines the file storage controller.

Namespace

Drupal\Core\Config

Code

public function getFilePath($name) {
  return $this->directory . '/' . $name . '.' . static::getFileExtension();
}