aggregator.routing.yml 3.04 KB
Newer Older
1
aggregator.admin_overview:
2
  path: '/admin/config/services/aggregator'
3
  defaults:
4
    _content: '\Drupal\aggregator\Controller\AggregatorController::adminOverview'
5
    _title: 'Feed aggregator'
6
7
8
  requirements:
    _permission: 'administer news feeds'

9
aggregator.admin_settings:
10
  path: '/admin/config/services/aggregator/settings'
11
12
  defaults:
    _form: '\Drupal\aggregator\Form\SettingsForm'
13
    _title: 'Settings'
14
15
  requirements:
    _permission: 'administer news feeds'
16

17
aggregator.feed_items_delete:
18
  path: '/admin/config/services/aggregator/remove/{aggregator_feed}'
19
  defaults:
20
    _entity_form: 'aggregator_feed.remove_items'
21
    _title: 'Remove items'
22
23
  requirements:
    _permission: 'administer news feeds'
24

25
aggregator.feed_delete:
26
  path: '/admin/config/services/aggregator/delete/feed/{aggregator_feed}'
27
  defaults:
28
    _entity_form: 'aggregator_feed.delete'
29
    _title: 'Delete feed'
30
31
  requirements:
    _permission: 'administer news feeds'
32

33
aggregator.feed_add:
34
  path: '/admin/config/services/aggregator/add/feed'
35
  defaults:
36
    _content: '\Drupal\aggregator\Controller\AggregatorController::feedAdd'
37
    _title: 'Add feed'
38
39
40
  requirements:
    _permission: 'administer news feeds'

41
aggregator.feed_configure:
42
  path: '/aggregator/sources/{aggregator_feed}/configure'
43
44
  defaults:
    _entity_form: 'aggregator_feed.default'
45
    _title: 'Configure'
46
47
48
  requirements:
    _permission: 'administer news feeds'

49
aggregator.feed_edit:
50
  path: '/admin/config/services/aggregator/edit/feed/{aggregator_feed}'
51
52
  defaults:
    _entity_form: 'aggregator_feed.default'
53
    _title: 'Edit feed'
54
55
56
  requirements:
    _permission: 'administer news feeds'

57
aggregator.feed_refresh:
58
  path: '/admin/config/services/aggregator/update/{aggregator_feed}'
59
  defaults:
60
    _content: '\Drupal\aggregator\Controller\AggregatorController::feedRefresh'
61
    _title: 'Update items'
62
63
  requirements:
    _permission: 'administer news feeds'
64
    _csrf_token: 'TRUE'
65

66
aggregator.opml_add:
67
  path: '/admin/config/services/aggregator/add/opml'
68
69
  defaults:
    _form: '\Drupal\aggregator\Form\OpmlFeedAdd'
70
    _title: 'Import OMPL'
71
72
  requirements:
    _permission: 'administer news feeds'
73

74
aggregator.feed_view:
75
  path: '/aggregator/sources/{aggregator_feed}'
76
77
  defaults:
    _content: '\Drupal\aggregator\Controller\AggregatorController::viewFeed'
78
    _title_callback: '\Drupal\aggregator\Controller\AggregatorController::feedTitle'
79
80
81
  requirements:
    _permission: 'access news feeds'

82
aggregator.page_last:
83
  path: '/aggregator'
84
  defaults:
85
    _content: '\Drupal\aggregator\Controller\AggregatorController::pageLast'
86
    _title: 'Feed aggregator'
87
88
  requirements:
    _permission: 'access news feeds'
89

90
aggregator.sources:
91
  path: '/aggregator/sources'
92
  defaults:
93
    _content: '\Drupal\aggregator\Controller\AggregatorController::sources'
94
    _title: 'Sources'
95
96
  requirements:
    _permission: 'access news feeds'
97

98
aggregator.opml_page:
99
  path: '/aggregator/opml'
100
101
102
103
104
  defaults:
    _title: 'OPML feed'
    _controller: '\Drupal\aggregator\Controller\AggregatorController::opmlPage'
  requirements:
    _permission: 'access news feeds'