diff --git a/src/Mouf/Html/Renderer/Twig/MoufTwigExtension.php b/src/Mouf/Html/Renderer/Twig/MoufTwigExtension.php index c0b4e7f..003b44a 100644 --- a/src/Mouf/Html/Renderer/Twig/MoufTwigExtension.php +++ b/src/Mouf/Html/Renderer/Twig/MoufTwigExtension.php @@ -55,11 +55,6 @@ public function getFunctions() */ new \Twig_SimpleFunction('val', [$this, 'getValue']), - /** - * The t function will call the iMsgNoEdit() method of the string passed in parameter - */ - new \Twig_SimpleFunction('t', [$this, 'translate'], array('is_variadic' => true, 'deprecated' => true, 'alternative' => '"t" filter')), - /** * The l function will create a relative URL : in fact, it simply preprends the ROOT_URL */ @@ -77,18 +72,6 @@ public function getFunctions() ); } - /** - * Returns a list of filters to add to the existing list. - * - * @return array An array of filters - */ - public function getFilters() - { - return array( - new \Twig_SimpleFilter('t', [$this, 'translate'], array('is_variadic' => true)), - ); - } - public function toHtml($param) { if ($param == null) {