/
payment_method.yml
44 lines (44 loc) · 1.46 KB
/
payment_method.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
sylius_grid:
grids:
sylius_admin_payment_method:
driver:
name: doctrine/orm
options:
class: %sylius.model.payment_method.class%
repository:
method: createListQueryBuilder
fields:
code:
type: string
label: sylius.ui.code
name:
type: string
label: sylius.ui.name
gateway:
type: twig
label: sylius.ui.gateway
options:
template: SyliusAdminBundle:Grid/Field:label.html.twig
enabled:
type: twig
label: sylius.ui.enabled
options:
template: SyliusAdminBundle:Grid/Field:enabled.html.twig
filters:
search:
type: string
label: sylius.ui.search
options:
fields: [code, translation.name]
enabled:
type: boolean
label: sylius.ui.enabled
actions:
main:
create:
type: create
item:
update:
type: update
delete:
type: delete