Sebastian Frank
14da32bac6
All checks were successful
continuous-integration/drone/push Build is passing
53 lines
937 B
YAML
53 lines
937 B
YAML
name: mycol
|
|
uploadPath: ../media/mycol
|
|
|
|
meta:
|
|
label: { de: mycol, en: mycol }
|
|
rowIdentTpl: { twig: "{{ title }}" }
|
|
views:
|
|
- type: table
|
|
columns:
|
|
- title
|
|
|
|
permissions: !include global/test-permissions.yml
|
|
|
|
projections:
|
|
test:
|
|
select:
|
|
field1: 1
|
|
|
|
hooks:
|
|
get:
|
|
return:
|
|
type: javascript
|
|
file: hooks/mycol/get_return.js
|
|
|
|
x-additional: test
|
|
|
|
fields:
|
|
- name: testfield
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: test
|
|
en: test
|
|
widget: "text"
|
|
|
|
- name: testfield2
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: test2
|
|
en: test2
|
|
widget: "contentbuilder"
|
|
baseHref: /mycol
|
|
|
|
- name: testfield3
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: test3
|
|
en: test3
|
|
widget: "select"
|
|
choices: []
|