You are here

service default_content.exporter in Default Content for D8 8

Same name and namespace in other branches
  1. 2.0.x default_content.services.yml \default_content.exporter

Class

Drupal\default_content\Exporter
7 string references to default_content.exporter
drush_default_content_export in drush/default_content.drush.inc
Exports a piece of content into the stdout or into a file.
drush_default_content_export_module in drush/default_content.drush.inc
Exports all of the content for a given module.
drush_default_content_export_references in drush/default_content.drush.inc
Exports a piece of content and all its referenced entities.
ExporterIntegrationTest::testExportContent in tests/src/Kernel/ExporterIntegrationTest.php
Tests exportContent().
ExporterIntegrationTest::testExportWithReferences in tests/src/Kernel/ExporterIntegrationTest.php
Tests exportContentWithReferences().

... See full list

File

./default_content.services.yml
default_content.services.yml

View source
  1. class: Drupal\default_content\Exporter
  2. arguments:
  3. - '@serializer'
  4. - '@entity_type.manager'
  5. - '@entity.repository'
  6. - '@hal.link_manager'
  7. - '@event_dispatcher'
  8. - '@module_handler'
  9. - '@info_parser'
  10. - '%default_content.link_domain%'
  11. - '@account_switcher'
  12. - '@file_system'