ImportContentOnPackageInitialization implements LoggerAwareInterface uses LoggerAwareTrait
FinalYes
Listener to import a T3D or XML file after package activation
Table of Contents
Interfaces
- LoggerAwareInterface
Methods
- __construct() : mixed
- __invoke() : void
Methods
__construct()
public
__construct(Registry $registry, ImportExportUtility $importExportUtility) : mixed
Parameters
- $registry : Registry
- $importExportUtility : ImportExportUtility
__invoke()
public
__invoke(PackageInitializationEvent $event) : void
Parameters
- $event : PackageInitializationEvent
Attributes
- #[AsEventListener]
- $after: CheckForImportRequirements::class