Skip to content
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

added app_ prefix to form type names #5798

Closed

Conversation

OskarStark
Copy link
Contributor

refs #5077

I'm not really sure about the changes of the alias names...

ping @xabbuh

Greetings from Symfony Live Berlin 2015 - Hack Day 😄

@@ -1173,7 +1173,7 @@ easy to use in your application.

# src/AppBundle/Resources/config/services.yml
services:
app.form.type.task:
app.form.type.app_task:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not change this here (we already have the app. prefix).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, i changed the code

@xabbuh
Copy link
Member

xabbuh commented Oct 17, 2015

We should make this change in the 2.3 branch (the getName() method and the alias configuration will be gone in Symfony 3.0).

@OskarStark OskarStark force-pushed the streamline_form_type_names branch from 2ef2567 to 3fa821a Compare October 17, 2015 10:07
@OskarStark
Copy link
Contributor Author

any news on this PR?

@@ -311,14 +311,14 @@ the ``genders`` parameter value as the first argument to its to-be-created
arguments:
- "%genders%"
tags:
- { name: form.type, alias: gender }
- { name: form.type, alias: app_gender }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The getName() bundle at the top of the article must be updated too.

wouterj added a commit that referenced this pull request Dec 19, 2015
…rk, WouterJ)

This PR was merged into the 2.3 branch.

Discussion
----------

Finish #5798 Add app_ prefix to form type names

Finishes #5798

Commits
-------

e47fa90 Updated getName() to return with app_ prefix
716a4f2 added app_ prefix to form type names
@wouterj
Copy link
Member

wouterj commented Dec 19, 2015

I've rebased this PR on top of 2.3 and updated the getName() method as indicated by @xabbuh in #6049 (which I just merged)

Thank you for fixing this @OskarStark! 🎄

@wouterj wouterj closed this Dec 19, 2015
@OskarStark
Copy link
Contributor Author

Good Job 👍

Am Samstag, 19. Dezember 2015 schrieb Wouter J :

Closed #5798 #5798.


Reply to this email directly or view it on GitHub
#5798 (comment).

@OskarStark OskarStark deleted the streamline_form_type_names branch December 7, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants