File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { SimpleTemplateGeneratorCommand } from './SimpleTemplateGeneratorCommand
33import { TemplateWizardData } from 'wizard/SimpleTemplateWizard' ;
44import { WizardField , WizardValidationRule } from 'webview/types' ;
55import { WizardFieldBuilder } from 'webview/WizardFieldBuilder' ;
6+ import FileHeader from 'common/xml/FileHeader' ;
67
78export default class GenerateLayoutXmlCommand extends SimpleTemplateGeneratorCommand {
89 constructor ( ) {
@@ -21,11 +22,15 @@ export default class GenerateLayoutXmlCommand extends SimpleTemplateGeneratorCom
2122 ] ;
2223 }
2324
25+ getFileHeader ( data : TemplateWizardData ) : string | undefined {
26+ return FileHeader . getHeader ( data . module ) ;
27+ }
28+
2429 getWizardTitle ( ) : string {
2530 return 'Layout XML File' ;
2631 }
2732
28- getTemplatePath ( data : TemplateWizardData ) : string {
33+ getFilePath ( data : TemplateWizardData ) : string {
2934 const [ vendor , module ] = data . module . split ( '_' ) ;
3035
3136 if ( data . area && data . area !== MagentoScope . Global ) {
You can’t perform that action at this time.
0 commit comments