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

Creating a service for a form type should suggest the tag for it #281

Closed
stof opened this issue May 16, 2014 · 1 comment
Closed

Creating a service for a form type should suggest the tag for it #281

stof opened this issue May 16, 2014 · 1 comment

Comments

@stof
Copy link
Contributor

stof commented May 16, 2014

When using the Create service action for a form type class (i.e. a class implementing Symfony\Component\Form\FormTypeInterface), it would be great to suggest the tag registering the type as service:

<tag name="form.type" alias="my_form_type" />

my_form_type here would be provided based on the return value of the getName method (which is a static string most of the time)

@Haehnchen
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants