title | issue |
---|---|
Add headline and paragraph to App Flow Action |
NEXT-21323 |
- Added the
$headline
protected in:Shopware\Core\Framework\App\Aggregate\FlowActionTranslation\AppFlowActionTranslationEntity
,Shopware\Core\Framework\App\Aggregate\FlowAction\AppFlowActionEntity
- Changed the
defineFields
method to add more translationheadline
field in:Shopware\Core\Framework\App\Aggregate\FlowActionTranslation\AppFlowActionTranslationDefinition
,Shopware\Core\Framework\App\Aggregate\FlowAction\AppFlowActionDefinition
, - Added new element
<xs:element type="translatableString" name="headline" maxOccurs="unbounded" minOccurs="0"/>
insrc/Core/Framework/App/FlowAction/Schema/flow-action-1.0.xsd
to support define<headline>
tag in App Flow Action. - Added new
$headline
protected inShopware\Core\Framework\App\FlowAction\Xml\Metadata
. - Deleted
$badge
protected inShopware\Core\Framework\App\FlowAction\Xml\Metadata
. - Added new
Migration1653385302AddHeadlineColumnToAppFlowActionTable
migration to add theheadline
column toapp_flow_action_translation
table. - Changed
toArray
method inShopware\Core\Framework\App\FlowAction\Xml\Action
to get theheadline
element in App Flow Action.
- Added new
sw_flow_app_action_modal_headline
,sw_flow_app_action_modal_paragraph
andsw_flow_app_action_modal_headline
blocks insrc/module/sw-flow/component/modals/sw-flow-app-action-modal/sw-flow-app-action-modal.html.twig
to show the action headline and paragraph. - Added new
headline
andparagraph
methods insrc/module/sw-flow/component/modals/sw-flow-app-action-modal/index.js
to getheadline
andparagraph
.