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 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95

field_ui.display_mode:
  path: '/admin/structure/display-modes'
  defaults:
    _content: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
    _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:
    _content: '\Drupal\field_ui\Controller\EntityDisplayModeController::viewModeTypeSelection'
    _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'

field_ui.entity_view_mode.edit_form:
  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'

field_ui.entity_view_mode.delete_form:
  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:
    _content: '\Drupal\field_ui\Controller\EntityDisplayModeController::formModeTypeSelection'
    _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'

field_ui.entity_form_mode.edit_form:
  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'

field_ui.entity_form_mode.delete_form:
  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'