From 553c7f12a716124ebb59d78ac733ad099c153ecb Mon Sep 17 00:00:00 2001 From: Maciej Kobus Date: Fri, 7 Dec 2018 14:33:56 +0100 Subject: [PATCH] EZEE-2578: Add eZ Platform Workflow bundle to meta (#93) --- app/AppKernel.php | 1 + app/config/config.yml | 2 ++ app/config/routing.yml | 3 +++ composer.json | 1 + 4 files changed, 7 insertions(+) diff --git a/app/AppKernel.php b/app/AppKernel.php index ae8ce3c315..e42db34c41 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -54,6 +54,7 @@ public function registerBundles() new EzSystems\DateBasedPublisherBundle\EzSystemsDateBasedPublisherBundle(), new EzSystems\FlexWorkflowBundle\EzSystemsFlexWorkflowBundle(), new EzSystems\EzPlatformEnterpriseEditionInstallerBundle\EzPlatformEnterpriseEditionInstallerBundle(), + new EzSystems\EzPlatformWorkflowBundle\EzPlatformWorkflowBundle(), // Application new AppBundle\AppBundle(), ]; diff --git a/app/config/config.yml b/app/config/config.yml index fa23372341..bd75529ff9 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -75,6 +75,8 @@ framework: assets: true php_errors: log: true + workflow: + enabled: true # Twig Configuration twig: diff --git a/app/config/routing.yml b/app/config/routing.yml index 4a9191d030..606ef7eed9 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -51,6 +51,9 @@ ezplatform.ee.date_based_publisher: ezplatform.ee.flex_workflow: resource: '@FlexWorkflowBundle/Resources/config/routing.yml' +ezplatform.ee.workflow: + resource: '@EzPlatformWorkflowBundle/Resources/config/routing.yml' + fos.js_routing: resource: '@FOSJsRoutingBundle/Resources/config/routing/routing.xml' diff --git a/composer.json b/composer.json index 99a6fdb8aa..25a9d30bb7 100644 --- a/composer.json +++ b/composer.json @@ -50,6 +50,7 @@ "ezsystems/ezpublish-kernel": "^7.4@dev", "ezsystems/flex-workflow": "^3.2@dev", "ezsystems/repository-forms": "^2.4@dev", + "ezsystems/ezplatform-workflow": "^1.0@dev", "friendsofsymfony/jsrouting-bundle": "^1.6.3", "gregwar/captcha-bundle": "^2.0", "incenteev/composer-parameter-handler": "^2.1.3",