Skip to content
Snippets Groups Projects
Forked from project / external_entities
36 commits behind, 8 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
external_entities.routing.yml 1.39 KiB
entity.external_entity_type.collection:
  path: '/admin/structure/external-entity-types'
  defaults:
    _entity_list: 'external_entity_type'
    _title: 'External entity types'
  requirements:
    _permission: 'administer external entity types'

entity.external_entity_type.add_form:
  path: '/admin/structure/external-entity-types/add'
  defaults:
    _entity_form: 'external_entity_type.add'
    _title: 'Add external entity type'
  requirements:
    _permission: 'administer external entity types'

entity.external_entity_type.edit_form:
  path: '/admin/structure/external-entity-types/{external_entity_type}'
  defaults:
    _entity_form: 'external_entity_type.edit'
    _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  requirements:
    _permission: 'administer external entity types'

entity.external_entity_type.delete_form:
  path: '/admin/structure/external-entity-types/{external_entity_type}/delete'
  defaults:
    _entity_form: 'external_entity_type.delete'
    _title: 'Delete'
  requirements:
    _permission: 'administer external entity types'

system.external:
  path: '/admin/config/external'
  defaults:
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
    _title: 'External data'
  requirements:
    _permission: 'access administration pages'

route_callbacks:
  - '\Drupal\external_entities\Routing\ExternalEntityTypeRoutes::routes'