-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathtwig_components.yaml
More file actions
43 lines (43 loc) · 1.71 KB
/
Copy pathtwig_components.yaml
File metadata and controls
43 lines (43 loc) · 1.71 KB
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
ibexa_twig_components:
admin-ui-user-menu:
custom-html-component:
type: html
priority: 0
arguments:
content: '<b>Hello world!</b>'
custom-template-component:
type: template
priority: 50
arguments:
template: '@ibexadesign/ui/component/user_thumbnail/user_thumbnail.html.twig'
parameters:
user_content:
name: "Thumbnail"
thumbnail:
resource: https://placecats.com/100/100
custom-controller-component:
type: controller
arguments:
controller: '\App\Controller\MyController::requestAction'
parameters:
parameter1: 'custom'
parameter2: true
admin-ui-stylesheet-head:
custom-link-component:
type: stylesheet
arguments:
href: 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback'
rel: stylesheet
crossorigin: anonymous
integrity: sha384-LN/mLhO/GN6Ge8ZPvI7uRsZpiXmtSkep+aFlJcHa8by4TvA34o1am9sa88eUzKTD
type: text/css
admin-ui-script-head:
custom-script-component:
type: script
arguments:
src: 'https://doc.ibexa.co/en/latest/js/custom.js'
crossorigin: anonymous
defer: false
async: true
integrity: sha384-Ewi2bBDtPbbu4/+fs8sIbBJ3zVl0LDOSznfhFR/JBK+SzggdRdX8XQKauWmI9HH2
type: text/javascript