Display form only if it is enabled
[MAILPOET-3075]
This commit is contained in:
@ -118,6 +118,13 @@ class FormEntity {
|
||||
$this->styles = $styles;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $status
|
||||
*/
|
||||
public function setStatus(string $status) {
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
public function toArray(): array {
|
||||
return [
|
||||
'id' => $this->getId(),
|
||||
|
Reference in New Issue
Block a user