FormBuilderMain::delete()
Delete the given form
Usage
$bool = $formBuilderMain->delete(FormBuilderForm $form);
Arguments
Name | Type(s) | Description |
---|---|---|
$form | FormBuilderForm | May be a $form instance, an ID or a name |
Return value
bool
Returns true on success, false on fail
Exceptions
Method can throw exceptions on error:
\PDOException
- on failure
FormBuilderMain methods and properties
API reference based on ProcessWire core version 3.0.251