Skip to content

Commit 30ad42f

Browse files
committed
MC-35104: Tracking Page Builder content type
- Add method documentation
1 parent 92b6e79 commit 30ad42f

File tree

2 files changed

+14
-1
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+14
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/preview.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/preview.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,12 @@ export default class Preview implements PreviewInterface {
489489
events.trigger(originalContentType.config.name + ":duplicateAfter", duplicateEventParams);
490490
}
491491

492+
/**
493+
* Dispatch content type visibility events
494+
*
495+
* @param {ContentTypeInterface | ContentTypeCollectionInterface} originalContentType
496+
* @param {boolean} visibility
497+
*/
492498
protected dispatchContentTypeVisibilityEvents(
493499
originalContentType: ContentTypeInterface | ContentTypeCollectionInterface,
494500
visibility: boolean,

0 commit comments

Comments
 (0)