An exception for terminatinating execution or to throw for unit testing.
This describes commonalities between the different modals.
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.