An exception for terminatinating execution or to throw for unit testing.
getCancelButtonLabel()
Get the label of the cancel button in the footer.
getFormAction()
Get the form action where the action button is sending the IDs of the affected items.
getActionButtonLabel()
Get the label of the action button in the footer.
getMessage()
Get the message of this modal, displayed below the modals title.
withFormAction($form_action)
Get a modal like this submitting the form to the given form action.
withAffectedItems(array $items)
Get a modal like this listing the given items in the content section below the message.
getAffectedItems()
Return the affected items listed in the content by this modal.
getTitle()
Get the title of this modal.
This describes commonalities between the different modals.