class ConfirmationFormCreator implements FormCreatorInterface

Form creator for confirmation dialogs

Methods

__construct(string $action, string $originalUrl, bool $no = false)

Create a new confirmation form

Form
create()

Create the form

Details

at line line 39
__construct(string $action, string $originalUrl, bool $no = false)

Create a new confirmation form

Parameters

string $action The text to show on the "Yes" button
string $originalUrl The URL which the user is coming from
bool $no Whether to show "No" instead of cancel

at line line 49
Form create()

Create the form

Return Value

Form