field_ui.routing.yml 2.91 KB
Newer Older
1
field_ui.list:
2
  path: '/admin/reports/fields'
3
  defaults:
4
    _entity_list: 'field_storage_config'
5
    _title: 'Field list'
6 7
  requirements:
    _permission: 'administer content types'
8 9 10 11

field_ui.display_mode:
  path: '/admin/structure/display-modes'
  defaults:
12
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
    _title: 'Display modes'
  requirements:
    _permission: 'administer display modes'

field_ui.entity_view_mode_list:
  path: '/admin/structure/display-modes/view'
  defaults:
    _entity_list: 'entity_view_mode'
    _title: 'View modes'
  requirements:
    _permission: 'administer display modes'

field_ui.entity_view_mode_add:
  path: '/admin/structure/display-modes/view/add'
  defaults:
28
    _controller: '\Drupal\field_ui\Controller\EntityDisplayModeController::viewModeTypeSelection'
29 30 31 32 33 34 35 36 37 38 39 40
    _title: 'Choose view mode entity type'
  requirements:
    _permission: 'administer display modes'

field_ui.entity_view_mode_add_type:
  path: '/admin/structure/display-modes/view/add/{entity_type_id}'
  defaults:
    _entity_form: 'entity_view_mode.add'
    _title: 'Add view mode'
  requirements:
    _permission: 'administer display modes'

41
entity.entity_view_mode.edit_form:
42 43 44 45 46 47 48
  path: '/admin/structure/display-modes/view/manage/{entity_view_mode}'
  defaults:
    _entity_form: 'entity_view_mode.edit'
    _title: 'Edit view mode'
  requirements:
    _entity_access: 'entity_view_mode.update'

49
entity.entity_view_mode.delete_form:
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
  path: '/admin/structure/display-modes/view/manage/{entity_view_mode}/delete'
  defaults:
    _entity_form: 'entity_view_mode.delete'
    _title: 'Delete view mode'
  requirements:
    _entity_access: 'entity_view_mode.delete'

field_ui.entity_form_mode_list:
  path: '/admin/structure/display-modes/form'
  defaults:
    _entity_list: 'entity_form_mode'
    _title: 'Form modes'
  requirements:
    _permission: 'administer display modes'

field_ui.entity_form_mode_add:
  path: '/admin/structure/display-modes/form/add'
  defaults:
68
    _controller: '\Drupal\field_ui\Controller\EntityDisplayModeController::formModeTypeSelection'
69 70 71 72 73 74 75 76 77 78 79 80
    _title: 'Choose form mode entity type'
  requirements:
    _permission: 'administer display modes'

field_ui.entity_form_mode_add_type:
  path: '/admin/structure/display-modes/form/add/{entity_type_id}'
  defaults:
    _entity_form: 'entity_form_mode.add'
    _title: 'Add form mode'
  requirements:
    _permission: 'administer display modes'

81
entity.entity_form_mode.edit_form:
82 83 84 85 86 87 88
  path: '/admin/structure/display-modes/form/manage/{entity_form_mode}'
  defaults:
    _entity_form: 'entity_form_mode.edit'
    _title: 'Edit form mode'
  requirements:
    _entity_access: 'entity_form_mode.update'

89
entity.entity_form_mode.delete_form:
90 91 92 93 94 95
  path: '/admin/structure/display-modes/form/manage/{entity_form_mode}/delete'
  defaults:
    _entity_form: 'entity_form_mode.delete'
    _title: 'Delete form mode'
  requirements:
    _entity_access: 'entity_form_mode.delete'