commands-1.x-dev/commands.routing.yml
commands.routing.yml
command.settings_form:
path: '/admin/config/system/command'
defaults:
_title: 'Commands settings'
_form: 'Drupal\commands\Form\SettingsForm'
requirements:
_permission: 'administer command configuration'
entity.command_type.collection:
path: '/admin/structure/command_types'
defaults:
_entity_list: 'command_type'
_title: 'Command types'
requirements:
_permission: 'administer command types'
entity.command_type.type_add:
path: '/admin/structure/command_types/add/{plugin}'
defaults:
_entity_form: 'command_type.add'
_title: 'Add command type'
requirements:
_permission: 'administer command types'
entity.command_type.edit_form:
path: '/admin/structure/command_types/manage/{command_type}'
defaults:
_entity_form: 'command_type.edit'
_title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
requirements:
_permission: 'administer command types'
entity.command_type.delete_form:
path: '/admin/structure/command_types/manage/{command_type}/delete'
defaults:
_entity_form: 'command_type.delete'
_title: 'Delete'
requirements:
_entity_access: 'command_type.delete'
