Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Form] Fix FormEvents::* constant and value matching #24631

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

Merged
merged 3 commits into from
Oct 19, 2017
Merged
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
Next Next commit
fix the constant value to be consistent with the name
  • Loading branch information
yceruto committed Oct 19, 2017
commit 0fc2282fc2242f0ecb4b13437383d9f62cb5bd6b
6 changes: 3 additions & 3 deletions 6 src/Symfony/Component/Form/FormEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class FormEvents
*
* @Event("Symfony\Component\Form\FormEvent")
*/
const PRE_SUBMIT = 'form.pre_bind';
const PRE_SUBMIT = 'form.pre_submit';

/**
* The SUBMIT event is dispatched just before the Form::submit() method
Expand All @@ -41,7 +41,7 @@ final class FormEvents
*
* @Event("Symfony\Component\Form\FormEvent")
*/
const SUBMIT = 'form.bind';
const SUBMIT = 'form.submit';

/**
* The FormEvents::POST_SUBMIT event is dispatched after the Form::submit()
Expand All @@ -51,7 +51,7 @@ final class FormEvents
*
* @Event("Symfony\Component\Form\FormEvent")
*/
const POST_SUBMIT = 'form.post_bind';
const POST_SUBMIT = 'form.post_submit';

/**
* The FormEvents::PRE_SET_DATA event is dispatched at the beginning of the Form::setData() method.
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.