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

Commit 1c1c0e4

Browse filesBrowse files
committed
[#6108] remove remaining references to getName()
1 parent 2bc4f55 commit 1c1c0e4
Copy full SHA for 1c1c0e4

File tree

Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-7
lines changed

‎cookbook/controller/upload_file.rst

Copy file name to clipboardExpand all lines: cookbook/controller/upload_file.rst
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ Then, add a new ``brochure`` field to the form that manages the ``Product`` enti
7676
'data_class' => 'AppBundle\Entity\Product',
7777
));
7878
}
79-
80-
public function getName()
81-
{
82-
return 'product';
83-
}
8479
}
8580

8681
Now, update the template that renders the form to display the new ``brochure``

‎cookbook/form/create_form_type_extension.rst

Copy file name to clipboardExpand all lines: cookbook/form/create_form_type_extension.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ by your extension.
7373
.. tip::
7474

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

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.