We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a60f7 commit 7c2a6c0Copy full SHA for 7c2a6c0
src/Symfony/Component/Form/FormTypeInterface.php
@@ -81,4 +81,14 @@ public function configureOptions(OptionsResolver $resolver);
81
* @return string|null The name of the parent type if any, null otherwise
82
*/
83
public function getParent();
84
+
85
+ /**
86
+ * Returns the prefix of the template block name for this type.
87
+ *
88
+ * The block prefixes default to the underscored short class name with
89
+ * the "Type" suffix removed (e.g. "UserProfileType" => "user_profile").
90
91
+ * @return string The prefix of the template block name
92
+ */
93
+ public function getBlockPrefix();
94
}
0 commit comments