Export
in package
Provide Export functionalities.
Table of Contents
Properties
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $extensionListModule : ModuleExtensionList
- The list of available modules.
Methods
- __construct() : mixed
- Initialise data / inject dependencies.
- create() : mixed
- Create container.
- exportTaxonomies() : mixed
- Handle export taxonomies.
- download() : mixed
- Force json output to be downloaded.
- handleExport() : mixed
- Export basic taxonomies terms.
- handleExportCountries() : mixed
- Export countries or languages.
- handleExportSessionTypeRoleFormat() : mixed
- Export SessionTypeRoleFormat terms.
- handleExportTimeslots() : mixed
- Export timeslots terms.
Properties
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$extensionListModule
The list of available modules.
protected
ModuleExtensionList
$extensionListModule
Methods
__construct()
Initialise data / inject dependencies.
public
__construct(EntityTypeManagerInterface $entity_type_manager) : mixed
Parameters
- $entity_type_manager : EntityTypeManagerInterface
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
exportTaxonomies()
Handle export taxonomies.
public
exportTaxonomies(Request $request) : mixed
Parameters
- $request : Request
download()
Force json output to be downloaded.
private
download(mixed $type, mixed $data) : mixed
Parameters
- $type : mixed
- $data : mixed
handleExport()
Export basic taxonomies terms.
private
handleExport(mixed $type) : mixed
Parameters
- $type : mixed
handleExportCountries()
Export countries or languages.
private
handleExportCountries(mixed $type) : mixed
Parameters
- $type : mixed
handleExportSessionTypeRoleFormat()
Export SessionTypeRoleFormat terms.
private
handleExportSessionTypeRoleFormat(mixed $type) : mixed
Parameters
- $type : mixed
handleExportTimeslots()
Export timeslots terms.
private
handleExportTimeslots(mixed $type) : mixed
Parameters
- $type : mixed