Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 570 Bytes

2022-02-17-add-app-lifecycle-scripts.md

File metadata and controls

9 lines (9 loc) · 570 Bytes
title issue
Add app lifecycle scripts
NEXT-19855

Core

  • Added AppLifecycleHooks in \Shopware\Core\Framework\App\Event\Hooks.
  • Changed \Shopware\Core\Framework\App\Lifecycle\AppLifecycle and \Shopware\Core\Framework\App\AppStateService to execute the new app lifecycle hooks.
  • Added \Shopware\Core\Framework\Script\Execution\Awareness\AppSpecificHook to mark hooks that should be only executed for specific apps.
  • Changed \Shopware\Core\Framework\Script\Execution\ScriptExecutor to only execute scripts of a specific app for AppSpecificHooks.