An exception for terminatinating execution or to throw for unit testing.
This describes commonalities between the different modals.
withContent($a_content)
Get Modal like this with the provided components representing the content of the modal.
withActionButtons(array $buttons)
Get a modal like this with the provided action buttons in the footer.
getActionButtons()
Get all action buttons in the footer of the modal.
withCancelButtonLabel($label)
Get the modal like this with the provided cancel button string.
getTitle()
Get the title of the modal.
getContent()
Get the components representing the content of the modal.
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.
getReplaceSignal()
Get the signal to replace the content of this modal.
initSignals()
Init the default signals plus extra signals like Replace.