8000 [Form] Introduce validation events by Seb33300 · Pull Request #47210 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Introduce validation events #47210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: 7.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comments consistency
  • Loading branch information
Seb33300 committed Aug 27, 2022
commit d34d434fa1b16419dbddab2b8d10f7ced6094d63
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Symfony\Component\Form\FormEvent;

/**
* This event is dispatched after the root form validation.
* This event is dispatched after (root form) validation completes.
*/
final class PostValidateEvent extends FormEvent
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Symfony\Component\Form\FormEvent;

/**
* This event is dispatched before the root form validation.
* This event is dispatched before (root form) validation starts.
*/
final class PreValidateEvent extends FormEvent
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
final class ValidatorFormEvents
{
/**
* This event is dispatched before validation starts.
* This event is dispatched before (root form) validation starts.
*
* @Event("Symfony\Component\Form\Extension\Validator\Event\PreValidateEvent")
*/
public const PRE_VALIDATE = 'form.pre_validate';

/**
* This event is dispatched after validation completes.
* This event is dispatched after (root form) validation completes.
*
* @Event("Symfony\Component\Form\Extension\Validator\Event\PostValidateEvent")
*/
Expand Down
0