Commit a2b96bd2 by Van

strtolower filter

parent e007afa2
......@@ -56,6 +56,22 @@ class TourinsoftExtension extends SimpleExtension
];
}
protected function registerTwigFilters()
{
return [
'minuscule' => 'minusculeFilter',
];
}
/**
* @param $input
* @return string
*/
public function minusculeFilter($input)
{
return strtolower($input);
}
/**
* @param Application $app
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment