42 parent::__construct($signal_generator);
87 $clone->action_buttons = $buttons;
106 $clone = clone $this;
107 $clone->cancel_button_label = $label;
getCancelButtonLabel()
Get the label of the cancel button in the footer, as language key.string
getTitle()
Get the title of the modal.string
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
getActionButtons()
Get all action buttons in the footer of the modal.[]
withActionButtons(array $buttons)
Get a modal like this with the provided action buttons in the footer.Note that the footer always cont...
checkArgListElements($which, array &$values, &$classes)
Check every element of the list if it is an instance of one of the given classes. ...
getContent()
Get the components representing the content of the modal.[]
withCancelButtonLabel($label)
Create styles array
The data for the language used.
toArray($value)
Wrap the given value in an array if it is no array.
__construct($title, $content, SignalGeneratorInterface $signal_generator)