function ContentExport::exportWithPath in Content Export YAML 8
File
- src/
ContentExport.php, line 320
Class
- ContentExport
- Created by PhpStorm. User: USER Date: 11/13/18 Time: 2:04 PM
Namespace
Drupal\content_export_yamlCode
function exportWithPath($id, $entity, $options = []) {
$config = \Drupal::config('content_export_yaml.contentexportsetting');
$path_config = $config
->get('path_export_content_folder');
$themes_str_path = isset($options["path"]) ? $options["path"] : $path_config;
return $this
->exportBase($id, $entity, $themes_str_path);
}