original_string: protected static function readConfig($path, $file) {
      $source = new FileStorage($path);
  
      // Re-read checkout flow from the export config file.
      // This should be safe enough as this only runs within a site install
      // context.
      /** @var \Drupal\Core\Config\StorageInterface $configStorage */
      $configStorage = Drupal::service('config.storage');
      return $configStorage->write(
        $file,
        $source->read($file)
      );
    }
code: protected static function readConfig($path, $file) {
      $source = new FileStorage($path);
  
      // Re-read checkout flow from the export config file.
      // This should be safe enough as this only runs within a site install
      // context.
      /** @var \Drupal\Core\Config\StorageInterface $configStorage */
      $configStorage = Drupal::service('config.storage');
      return $configStorage->write(
        $file,
        $source->read($file)
      );
    }
code_tokens: protected static function readConfig ( $ path , $ file ) { $ source = new FileStorage ( $ path ) ; // Re-read checkout flow from the export config file. // This should be safe enough as this only runs within a site install // context. /** @var \Drupal\Core\Config\StorageInterface $configStorage */ $ configStorage = Drupal :: service ( 'config.storage' ) ; return $ configStorage -> write ( $ file , $ source -> read ( $ file ) ) ; }
docstring: Re-read config from file into active storage.
  
  @param string $path
  Config path.
  @param string $file
  Config file name.
  
  @return bool
  TRUE if successful, FALSE otherwise.
  
  @throws \Drupal\Core\Config\StorageException
  If a config write failure occurs.
  @throws \Drupal\Core\Config\UnsupportedDataTypeConfigException
  If a config read failur occurs.
docstring_tokens: Re - read config from file into active storage .