ajax_test.routing.yml 1.26 KB
Newer Older
1
ajax_test.dialog_contents:
2
  path: '/ajax-test/dialog-contents'
3
  defaults:
4
    _title: 'AJAX Dialog contents'
5
    _content: '\Drupal\ajax_test\Controller\AjaxTestController::dialogContents'
6
7
  requirements:
    _access: 'TRUE'
8
9

ajax_test.dialog_form:
10
  path: '/ajax-test/dialog-form'
11
  defaults:
12
    _title: 'Ajax Form contents'
13
14
15
    _form: '\Drupal\ajax_test\AjaxTestForm'
  requirements:
    _access: 'TRUE'
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

ajax_test.dialog:
  path: '/ajax-test/dialog'
  defaults:
    _content: '\Drupal\ajax_test\Controller\AjaxTestController::dialog'
  requirements:
    _access: 'TRUE'

ajax_test.dialog_close:
  path: '/ajax-test/dialog-close'
  defaults:
    _controller: '\Drupal\ajax_test\Controller\AjaxTestController::dialogClose'
  requirements:
    _access: 'TRUE'

ajax_test.render:
  path: '/ajax-test/render'
  defaults:
    _controller: '\Drupal\ajax_test\Controller\AjaxTestController::render'
  requirements:
    _access: 'TRUE'

ajax_test.order:
  path: '/ajax-test/order'
  defaults:
    _controller: '\Drupal\ajax_test\Controller\AjaxTestController::order'
  requirements:
    _access: 'TRUE'

ajax_test.render_error:
  path: '/ajax-test/render-error'
  defaults:
    _controller: '\Drupal\ajax_test\Controller\AjaxTestController::renderError'
  requirements:
    _access: 'TRUE'