mirror of
https://github.com/getgrav/grav.git
synced 2026-03-05 20:11:50 +01:00
Add protected method FormTrait::unsetFlash()
This commit is contained in:
@@ -290,6 +290,11 @@ trait FormTrait
|
|||||||
return $this->flash;
|
return $this->flash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function unsetFlash(): void
|
||||||
|
{
|
||||||
|
$this->flash = null;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set all errors.
|
* Set all errors.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user