Skip to content

Commit

Permalink
Merge pull request #506 from mnocon/ezp-29277-adapt-flex-wf
Browse files Browse the repository at this point in the history
EZP-29277: Add FlexWf to ElementFactory
  • Loading branch information
Łukasz Serwatka authored Jun 13, 2018
2 parents c65d431 + 5ee08c4 commit 9443aa1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/Behat/PageElement/ElementFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
use EzSystems\EzPlatformPageBuilder\Tests\Behat\PageElement\PageBuilderActionBar;
use EzSystems\EzPlatformPageBuilder\Tests\Behat\PageElement\PageBuilderCreatorPopup;
use EzSystems\EzPlatformPageBuilder\Tests\Behat\PageElement\PageEditorBlock;
use EzSystems\FlexWorkflow\Behat\PageElement\SendForReviewForm;

class ElementFactory
{
Expand Down Expand Up @@ -158,6 +159,8 @@ public static function createElement(UtilityContext $context, string $elementNam
return new UniversalDiscoveryWidget($context);
case DateBasedPublisherPopup::ELEMENT_NAME:
return new DateBasedPublisherPopup($context);
case SendForReviewForm::ELEMENT_NAME:
return new SendForReviewForm($context);
case PageBuilderCreatorPopup::ELEMENT_NAME:
return new PageBuilderCreatorPopup($context);
case PageBuilderActionBar::ELEMENT_NAME:
Expand Down

0 comments on commit 9443aa1

Please sign in to comment.