You are here

public static function ConfigurationManagement::getStream in Configuration Management 7.2

Returns the current stream used to import and export configurations. Default value is config://

Return value

string

9 calls to ConfigurationManagement::getStream()
ConfigurationApiTest::testStartAndStopTracking in tests/configuration.test
ConfigurationManagement::readTrackingFile in lib/Drupal/configuration/Config/ConfigurationManagement.php
Returns a list of files that are listed in the config://tracked.inc file.
ConfigurationManagement::updateTrackingFile in lib/Drupal/configuration/Config/ConfigurationManagement.php
This function save into config://tracked.inc file the configurations that are currently tracked.
configuration_sync_configurations_submit in ui/configuration_ui.admin.inc
Storage::checkFilePermissions in lib/Drupal/configuration/Storage/Storage.php
Returns TRUE if the current user has write permissions for a configuration file in the config:// directory.

... See full list

File

lib/Drupal/configuration/Config/ConfigurationManagement.php, line 49
Definition of Drupal\configuration\Config\ConfigurationManagement.

Class

ConfigurationManagement

Namespace

Drupal\configuration\Config

Code

public static function getStream() {
  $temp_stream = static::$stream;

  // During the install process strema wrappers are to available so this is
  // a work around.
  if (!file_stream_wrapper_get_instance_by_uri($temp_stream)) {
    $temp_stream = variable_get('configuration_config_path', conf_path() . '/files/config');
  }
  return $temp_stream;
}