public function Barcode::getFilters in Barcodes 8
Same name and namespace in other branches
- 2.0.x src/Template/Barcode.php \Drupal\barcodes\Template\Barcode::getFilters()
File
- src/
Template/ Barcode.php, line 24
Class
- Barcode
- Class Barcode.
Namespace
Drupal\barcodes\TemplateCode
public function getFilters() {
return [
new \Twig_SimpleFilter('barcode', [
$this,
'filterBarcode',
], [
'is_safe' => [
'html',
],
]),
];
}