Skip to content

Commit

Permalink
[#6108] remove remaining references to getName()
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 13, 2016
1 parent 2bc4f55 commit 1c1c0e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions cookbook/controller/upload_file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ Then, add a new ``brochure`` field to the form that manages the ``Product`` enti
'data_class' => 'AppBundle\Entity\Product',
));
}

public function getName()
{
return 'product';
}
}

Now, update the template that renders the form to display the new ``brochure``
Expand Down
4 changes: 2 additions & 2 deletions cookbook/form/create_form_type_extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ by your extension.
.. tip::

The value you return in the ``getExtendedType`` method corresponds
to the value returned by the ``getName`` method in the form type class
you wish to extend.
to the fully qualified class name of the form type class you wish to
extend.

In addition to the ``getExtendedType`` function, you will probably want
to override one of the following methods:
Expand Down

0 comments on commit 1c1c0e4

Please sign in to comment.