forked from SU-SWS/stanford_migrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stanford_migrate.routing.yml
46 lines (43 loc) · 1.49 KB
/
stanford_migrate.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
stanford_migrate.list:
path: '/admin/config/importers'
defaults:
_form: '\Drupal\stanford_migrate\Form\StanfordMigrateImportForm'
_title: 'Importers'
options:
_admin_route: TRUE
requirements:
_custom_access: '\Drupal\stanford_migrate\Form\StanfordMigrateImportForm::access'
stanford_migrate.ultimate_cron:
path: '/admin/config/system/cron/migrate-jobs'
defaults:
_form: '\Drupal\stanford_migrate\Form\StanfordMigrateUltimateCronForm'
_title: 'Importer Cron Jobs'
requirements:
_permission: 'administer migrations'
entity.migration.csv_upload:
path: '/admin/structure/migrate/manage/{migration_group}/migrations/{migration}/csv-upload'
defaults:
_entity_form: 'migration.csv-upload'
_title: 'Upload CSV'
_migrate_group: true
requirements:
_custom_access: 'Drupal\stanford_migrate\Form\StanfordMigrateCsvImportForm::access'
_module_dependencies: migrate_source_csv
options:
parameters:
migration:
type: entity:migration
migration_group:
type: entity:migration_group
entity.migration.csv_template:
path: '/admin/structure/migrate/migrations/{migration}/csv-template'
defaults:
_controller: '\Drupal\stanford_migrate\Controller\MigrationCsvTemplate::getEmptyTemplate'
_title: 'CSV Template'
requirements:
_custom_access: 'Drupal\stanford_migrate\Form\StanfordMigrateCsvImportForm::access'
_module_dependencies: migrate_source_csv
options:
parameters:
migration:
type: entity:migration