<plugin root>/src/Resources/app/administration/src/app/filter
. In this case we name our filter example
, so our file will be named example.filter.js
.Filter
from the Shopware
object where we can register our filter with the method register
. The first argument we pass is the name of our filter, which is example
. The second argument is a function with which we format our text.main.js
file.