-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenai_assistant.routing.yml
55 lines (49 loc) · 1.58 KB
/
openai_assistant.routing.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
45
46
47
48
49
50
51
52
53
54
55
entity.assistant.collection:
path: '/admin/structure/assistant'
defaults:
_entity_list: 'assistant'
_title: 'Assistant configuration'
requirements:
_permission: 'administer assistant'
entity.assistant.add_form:
path: '/admin/structure/assistant/add'
defaults:
_entity_form: 'assistant.add'
_title: 'Add an assistant'
requirements:
_permission: 'administer assistant'
entity.assistant.edit_form:
path: '/admin/structure/assistant/{assistant}'
defaults:
_entity_form: 'assistant.edit'
_title: 'Edit an assistant'
requirements:
_permission: 'administer assistant'
entity.assistant.delete_form:
path: '/admin/structure/assistant/{assistant}/delete'
defaults:
_entity_form: 'assistant.delete'
_title: 'Delete an assistant'
requirements:
_permission: 'administer assistant'
openai_assistant.settings:
path: '/admin/config/system/settings'
defaults:
_title: 'OpenAI Assistant Settings'
_form: 'Drupal\openai_assistant\Form\SettingsForm'
requirements:
_permission: 'administer site configuration'
openai_assistant.import_assistant:
path: '/admin/structure/assistant/import'
defaults:
_form: '\Drupal\openai_assistant\Form\ImportAssistantForm'
_title: 'Import Assistant'
requirements:
_permission: 'administer assistant'
openai_assistant.synchronize_assistants:
path: '/admin/structure/assistant/synchronize'
defaults:
_controller: '\Drupal\openai_assistant\Controllers\SynchronizeAssistantsController::synchronize'
_title: 'Synchronize Assistants'
requirements:
_permission: 'administer assistant'