PortalMessagePublisherExtensions mixin
A mixin is a class designed to extend the functions of other classes. Mixins are separately created classes with additional functionality. Learn more about mixins in the Mixins (mixins) article.
The PortalMessagePublisherExtensions
mixin is used for the extension of the SectionActionsDashboard
schema (and its derived schemas). It allows you to extend the configuration of the SectionActionsDashboard
tabs with the portal message tab PortalMessageTab
and add the corresponding Portal message portal
. The mixin is implemented in the PortalMessagePublisher package and is available in the Service Enterprise product (or in the bundles that include this product).
Methods
extendTabsConfig(config) : Object
Extends the configuration of the SectionActionsDashboard
tabs with the portal messages tab PortalMessageTab
.
Returns the augmented object (Object
) of the SectionActionsDashboard
tab configuration.
The config
parameter (Object
) – SectionActionsDashboard
tab configuration object.
extendSectionPublishers(publishers) : Array
Adds a portal channel (Portal
) to the message publisher collection.
Returns the augmented collection of message publishers (Array
).
The publishers
parameter (Array)
is the collection of message publishers.