101 $clone = clone $this;
An exception for terminatinating execution or to throw for unit testing.
getFormAction()
Get the form action where the action button is sending the IDs of the affected items....
getAffectedItems()
Return the affected items listed in the content by this modal.InterruptiveItem[]
withFormAction($form_action)
Get a modal like this submitting the form to the given form action.Interruptive
getCancelButtonLabel()
Get the label of the cancel button in the footer.string
getActionButtonLabel()
Get the label of the action button in the footer.string
withAffectedItems(array $items)
Get a modal like this listing the given items in the content section below the message....
getMessage()
Get the message of this modal, displayed below the modals title.string
getTitle()
Get the title of this modal.string
__construct($title, $message, $form_action, SignalGeneratorInterface $signal_generator, $action_button_label='delete')
A component is the most general form of an entity in the UI.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes.