You are here

function ContentExport::export in Content Export YAML 8

File

src/ContentExport.php, line 273

Class

ContentExport
Created by PhpStorm. User: USER Date: 11/13/18 Time: 2:04 PM

Namespace

Drupal\content_export_yaml

Code

function export($id, $entity, $type = NULL) {
  $config = \Drupal::config('content_export_yaml.contentexportsetting');
  $themes_str = $config
    ->get('path_export_content_folder');
  return $this
    ->exportBase($id, $entity, $themes_str);
}