add deprecation log (#12618)
This commit is contained in:
parent
d277c16a27
commit
7d9afd72ed
@ -136,8 +136,8 @@ class FormHelper extends Helper
|
|||||||
*/
|
*/
|
||||||
public function enctype(FormView $view)
|
public function enctype(FormView $view)
|
||||||
{
|
{
|
||||||
// Uncomment this as soon as the deprecation note should be shown
|
trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
|
||||||
// trigger_error('The form helper $view[\'form\']->enctype() is deprecated since version 2.3 and will be removed in 3.0. Use $view[\'form\']->start() instead.', E_USER_DEPRECATED);
|
|
||||||
return $this->renderer->searchAndRenderBlock($view, 'enctype');
|
return $this->renderer->searchAndRenderBlock($view, 'enctype');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user