Commit 8347b04c authored by webchick's avatar webchick

Issue #2051097 follow-up by tim.plunkett: Remove silly spacing errors.

parent 7cfa38d0
......@@ -32,7 +32,7 @@ public function content(Request $request, $_entity_form) {
* representing the entity and operation being performed.
* Consider the following route:
* @code
* path: '/foo/{node}/bar'
* path: '/foo/{node}/bar'
* defaults:
* _entity_form: 'node.edit'
* @endcode
......@@ -40,7 +40,7 @@ public function content(Request $request, $_entity_form) {
* If the entity type has a default form controller, only the name of the
* entity {param} needs to be passed:
* @code
* path: '/foo/{node}/baz'
* path: '/foo/{node}/baz'
* defaults:
* _entity_form: 'node'
* @endcode
......
action.admin:
path: '/admin/config/system/actions'
path: '/admin/config/system/actions'
defaults:
_entity_list: 'action'
requirements:
_permission: 'administer actions'
action.admin_add:
path: '/admin/config/system/actions/add/{action_id}'
path: '/admin/config/system/actions/add/{action_id}'
defaults:
_entity_form: 'action.add'
requirements:
_permission: 'administer actions'
action.admin_configure:
path: '/admin/config/system/actions/configure/{action}'
path: '/admin/config/system/actions/configure/{action}'
defaults:
_entity_form: 'action.edit'
requirements:
_permission: 'administer actions'
action.delete:
path: 'admin/config/system/actions/configure/{action}/delete'
path: 'admin/config/system/actions/configure/{action}/delete'
defaults:
_entity_form: 'action.delete'
requirements:
......
aggregator.admin_overview:
path: '/admin/config/services/aggregator'
path: '/admin/config/services/aggregator'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::adminOverview'
requirements:
_permission: 'administer news feeds'
aggregator.admin_settings:
path: '/admin/config/services/aggregator/settings'
path: '/admin/config/services/aggregator/settings'
defaults:
_form: '\Drupal\aggregator\Form\SettingsForm'
requirements:
_permission: 'administer news feeds'
aggregator.feed_items_delete:
path: '/admin/config/services/aggregator/remove/{aggregator_feed}'
path: '/admin/config/services/aggregator/remove/{aggregator_feed}'
defaults:
_entity_form: 'aggregator_feed.remove_items'
requirements:
_permission: 'administer news feeds'
aggregator.feed_delete:
path: '/admin/config/services/aggregator/delete/feed/{aggregator_feed}'
path: '/admin/config/services/aggregator/delete/feed/{aggregator_feed}'
defaults:
_entity_form: 'aggregator_feed.delete'
requirements:
_permission: 'administer news feeds'
aggregator.feed_add:
path: '/admin/config/services/aggregator/add/feed'
path: '/admin/config/services/aggregator/add/feed'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::feedAdd'
requirements:
_permission: 'administer news feeds'
aggregator.feed_configure:
path: '/aggregator/sources/{aggregator_feed}/configure'
path: '/aggregator/sources/{aggregator_feed}/configure'
defaults:
_entity_form: 'aggregator_feed.default'
requirements:
_permission: 'administer news feeds'
aggregator.feed_edit:
path: '/admin/config/services/aggregator/edit/feed/{aggregator_feed}'
path: '/admin/config/services/aggregator/edit/feed/{aggregator_feed}'
defaults:
_entity_form: 'aggregator_feed.default'
requirements:
_permission: 'administer news feeds'
aggregator.feed_refresh:
path: '/admin/config/services/aggregator/update/{aggregator_feed}'
path: '/admin/config/services/aggregator/update/{aggregator_feed}'
defaults:
_controller: '\Drupal\aggregator\Controller\AggregatorController::feedRefresh'
requirements:
_permission: 'administer news feeds'
aggregator.opml_add:
path: '/admin/config/services/aggregator/add/opml'
path: '/admin/config/services/aggregator/add/opml'
defaults:
_form: '\Drupal\aggregator\Form\OpmlFeedAdd'
requirements:
_permission: 'administer news feeds'
aggregator.feed_view:
path: '/aggregator/sources/{aggregator_feed}'
path: '/aggregator/sources/{aggregator_feed}'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::viewFeed'
requirements:
_permission: 'access news feeds'
aggregator.page_last:
path: '/aggregator'
path: '/aggregator'
defaults:
_controller: '\Drupal\aggregator\Controller\AggregatorController::pageLast'
requirements:
_permission: 'access news feeds'
aggregator.sources:
path: '/aggregator/sources'
path: '/aggregator/sources'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::sources'
requirements:
_permission: 'access news feeds'
aggregator.categories:
path: '/aggregator/categories'
path: '/aggregator/categories'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::categories'
requirements:
_access_aggregator_categories: 'TRUE'
aggregator.category_view:
path: '/aggregator/categories/{cid}'
path: '/aggregator/categories/{cid}'
defaults:
_content: '\Drupal\aggregator\Controller\AggregatorController::viewCategory'
requirements:
_permission: 'access news feeds'
aggregator.category_edit:
path: '/aggregator/categories/{cid}/configure'
path: '/aggregator/categories/{cid}/configure'
defaults:
_form: '\Drupal\aggregator\Form\CategoryAdminForm'
requirements:
_permission: 'administer news feeds'
aggregator.category_admin_edit:
path: '/admin/config/services/aggregator/edit/category/{cid}'
path: '/admin/config/services/aggregator/edit/category/{cid}'
defaults:
_form: '\Drupal\aggregator\Form\CategoryAdminForm'
requirements:
_permission: 'administer news feeds'
aggregator.category_delete:
path: '/admin/config/services/aggregator/delete/category/{cid}'
path: '/admin/config/services/aggregator/delete/category/{cid}'
defaults:
_form: '\Drupal\aggregator\Form\CategoryDeleteForm'
requirements:
_permission: 'administer news feeds'
aggregator.category_add:
path: '/admin/config/services/aggregator/add/category'
path: '/admin/config/services/aggregator/add/category'
defaults:
_form: '\Drupal\aggregator\Form\CategoryAdminForm'
requirements:
_permission: 'administer news feeds'
aggregator.categorize_category_form:
path: '/aggregator/categories/{cid}/categorize'
path: '/aggregator/categories/{cid}/categorize'
defaults:
_form: '\Drupal\aggregator\Form\CategorizeCategoryForm'
requirements:
_permission: 'administer news feeds'
aggregator.categorize_feed_form:
path: '/aggregator/sources/{aggregator_feed}/categorize'
path: '/aggregator/sources/{aggregator_feed}/categorize'
defaults:
_form: '\Drupal\aggregator\Form\CategorizeFeedForm'
requirements:
......
aggregator_test.feed:
path: '/aggregator/test-feed/{use_last_modified}/{use_etag}'
path: '/aggregator/test-feed/{use_last_modified}/{use_etag}'
defaults:
_controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testFeed'
_title: 'Test feed static last modified date'
......@@ -9,7 +9,7 @@ aggregator_test.feed:
_permission: 'access content'
aggregator_test.redirect:
path: '/aggregator/redirect'
path: '/aggregator/redirect'
defaults:
_controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testRedirect'
_title: 'Test feed with a redirect'
......
ban.admin_page:
path: '/admin/config/people/ban/{default_ip}'
path: '/admin/config/people/ban/{default_ip}'
defaults:
_form: '\Drupal\ban\Form\BanAdmin'
default_ip: ''
......@@ -7,7 +7,7 @@ ban.admin_page:
_permission: 'ban IP addresses'
ban.delete:
path: '/admin/config/people/ban/delete/{ban_id}'
path: '/admin/config/people/ban/delete/{ban_id}'
defaults:
_form: '\Drupal\ban\Form\BanDelete'
requirements:
......
block.admin_block_delete:
path: '/admin/structure/block/manage/{block}/delete'
path: '/admin/structure/block/manage/{block}/delete'
defaults:
_entity_form: 'block.delete'
requirements:
_permission: 'administer blocks'
block.admin_edit:
path: '/admin/structure/block/manage/{block}'
path: '/admin/structure/block/manage/{block}'
defaults:
_entity_form: 'block.default'
requirements:
_entity_access: 'block.update'
block.admin_display:
path: '/admin/structure/block'
path: '/admin/structure/block'
defaults:
_content: '\Drupal\block\Controller\BlockListController::listing'
entity_type: 'block'
......@@ -21,7 +21,7 @@ block.admin_display:
_permission: 'administer blocks'
block.admin_add:
path: '/admin/structure/block/add/{plugin_id}/{theme}'
path: '/admin/structure/block/add/{plugin_id}/{theme}'
defaults:
_content: '\Drupal\block\Controller\BlockAddController::blockAddConfigureForm'
theme: null
......@@ -30,7 +30,7 @@ block.admin_add:
_permission: 'administer blocks'
block.category_autocomplete:
path: '/block-category/autocomplete'
path: '/block-category/autocomplete'
defaults:
_controller: '\Drupal\block\Controller\CategoryAutocompleteController::autocomplete'
requirements:
......
custom_block.type_list:
path: '/admin/structure/block/custom-blocks/types'
path: '/admin/structure/block/custom-blocks/types'
defaults:
_entity_list: 'custom_block_type'
requirements:
_permission: 'administer blocks'
custom_block.add_page:
path: '/block/add'
path: '/block/add'
defaults:
_content: 'Drupal\custom_block\Controller\CustomBlockController::add'
requirements:
_permission: 'administer blocks'
custom_block.add_form:
path: block/add/{custom_block_type}
path: block/add/{custom_block_type}
defaults:
_content: 'Drupal\custom_block\Controller\CustomBlockController::addForm'
requirements:
_permission: 'administer blocks'
custom_block.type_delete:
path: '/admin/structure/block/custom-blocks/manage/{custom_block_type}/delete'
path: '/admin/structure/block/custom-blocks/manage/{custom_block_type}/delete'
defaults:
_entity_form: 'custom_block_type.delete'
requirements:
_entity_access: 'custom_block_type.delete'
custom_block.edit:
path: '/block/{custom_block}'
path: '/block/{custom_block}'
defaults:
_entity_form: 'custom_block.edit'
requirements:
......@@ -35,28 +35,28 @@ custom_block.edit:
custom_block: \d+
custom_block.delete:
path: '/block/{custom_block}/delete'
path: '/block/{custom_block}/delete'
defaults:
_entity_form: 'custom_block.delete'
requirements:
_entity_access: 'custom_block.delete'
custom_block.type_add:
path: '/admin/structure/block/custom-blocks/types/add'
path: '/admin/structure/block/custom-blocks/types/add'
defaults:
_entity_form: 'custom_block_type.add'
requirements:
_permission: 'administer blocks'
custom_block.type_edit:
path: '/admin/structure/block/custom-blocks/manage/{custom_block_type}'
path: '/admin/structure/block/custom-blocks/manage/{custom_block_type}'
defaults:
_entity_form: 'custom_block_type.edit'
requirements:
_entity_access: 'custom_block_type.update'
custom_block.list:
path: '/admin/structure/block/custom-blocks'
path: '/admin/structure/block/custom-blocks'
defaults:
_title: 'Custom block library'
_entity_list: 'custom_block'
......
book.render:
path: '/book'
path: '/book'
defaults:
_content: '\Drupal\book\Controller\BookController::bookRender'
requirements:
_permission: 'access content'
book.admin:
path: '/admin/structure/book'
path: '/admin/structure/book'
defaults:
_content: '\Drupal\book\Controller\BookController::adminOverview'
requirements:
_permission: 'administer book outlines'
book.settings:
path: '/admin/structure/book/settings'
path: '/admin/structure/book/settings'
defaults:
_form: '\Drupal\book\Form\BookSettingsForm'
requirements:
_permission: 'administer site configuration'
book.export:
path: '/book/export/{type}/{node}'
path: '/book/export/{type}/{node}'
defaults:
_controller: '\Drupal\book\Controller\BookController::bookExport'
options:
......@@ -30,7 +30,7 @@ book.export:
_entity_access: 'node.view'
book.outline:
path: '/node/{node}/outline'
path: '/node/{node}/outline'
defaults:
_entity_form: 'node.book_outline'
options:
......@@ -40,7 +40,7 @@ book.outline:
_entity_access: 'node.view'
book.admin_edit:
path: '/admin/structure/book/{node}'
path: '/admin/structure/book/{node}'
defaults:
_form: 'Drupal\book\Form\BookAdminEditForm'
_title: 'Re-order book pages and change titles'
......
comment.edit_page:
path: '/comment/{comment}/edit'
path: '/comment/{comment}/edit'
defaults:
_entity_form: 'comment.default'
requirements:
_entity_access: 'comment.update'
comment.approve:
path: '/comment/{comment}/approve'
path: '/comment/{comment}/approve'
defaults:
_content: '\Drupal\comment\Controller\CommentController::commentApprove'
entity_type: 'comment'
......@@ -14,21 +14,21 @@ comment.approve:
_entity_access: 'comment.approve'
comment.permalink:
path: '/comment/{comment}'
path: '/comment/{comment}'
defaults:
_controller: '\Drupal\comment\Controller\CommentController::commentPermalink'
requirements:
_entity_access: 'comment.view'
comment.confirm_delete:
path: '/comment/{comment}/delete'
path: '/comment/{comment}/delete'
defaults:
_entity_form: 'comment.delete'
requirements:
_entity_access: 'comment.delete'
comment.reply:
path: 'comment/reply/{node}/{pid}'
path: 'comment/reply/{node}/{pid}'
defaults:
_content: '\Drupal\comment\Controller\CommentController::getReplyForm'
pid: ~
......@@ -36,7 +36,7 @@ comment.reply:
_entity_access: 'node.view'
comment.new_comments_node_links:
path: '/comments/render_new_comments_node_links'
path: '/comments/render_new_comments_node_links'
defaults:
_controller: '\Drupal\comment\Controller\CommentController::renderNewCommentsNodeLinks'
requirements:
......
config.diff:
path: '/admin/config/development/sync/diff/{config_file}'
path: '/admin/config/development/sync/diff/{config_file}'
defaults:
_content: '\Drupal\config\Controller\ConfigController::diff'
requirements:
_permission: 'synchronize configuration'
config.export_download:
path: '/admin/config/development/export-download'
path: '/admin/config/development/export-download'
defaults:
_controller: '\Drupal\config\Controller\ConfigController::downloadExport'
requirements:
_permission: 'export configuration'
config.export:
path: '/admin/config/development/export'
path: '/admin/config/development/export'
defaults:
_form: '\Drupal\config\Form\ConfigExportForm'
requirements:
_permission: 'export configuration'
config.import:
path: '/admin/config/development/import'
path: '/admin/config/development/import'
defaults:
_form: '\Drupal\config\Form\ConfigImportForm'
requirements:
_permission: 'import configuration'
config.sync:
path: '/admin/config/development/sync'
path: '/admin/config/development/sync'
defaults:
_form: '\Drupal\config\Form\ConfigSync'
requirements:
......
config_test.list_page:
path: '/admin/structure/config_test'
path: '/admin/structure/config_test'
defaults:
_entity_list: 'config_test'
requirements:
_access: 'TRUE'
config_test.entity_add:
path: 'admin/structure/config_test/add'
path: 'admin/structure/config_test/add'
defaults:
_entity_form: 'config_test'
requirements:
_access: 'TRUE'
config_test.entity:
path: 'admin/structure/config_test/manage/{config_test}'
path: 'admin/structure/config_test/manage/{config_test}'
defaults:
_controller: '\Drupal\config_test\ConfigTestController::edit'
entity_type: 'config_test'
......@@ -21,7 +21,7 @@ config_test.entity:
_access: 'TRUE'
config_test.entity_enable:
path: 'admin/structure/config_test/manage/{config_test}/enable'
path: 'admin/structure/config_test/manage/{config_test}/enable'
defaults:
_content: '\Drupal\config_test\ConfigTestController::enable'
entity_type: 'config_test'
......@@ -29,7 +29,7 @@ config_test.entity_enable:
_access: 'TRUE'
config_test.entity_disable:
path: 'admin/structure/config_test/manage/{config_test}/disable'
path: 'admin/structure/config_test/manage/{config_test}/disable'
defaults:
_content: '\Drupal\config_test\ConfigTestController::disable'
entity_type: 'config_test'
......@@ -37,7 +37,7 @@ config_test.entity_disable:
_access: 'TRUE'
config_test.entity_delete:
path: 'admin/structure/config_test/manage/{config_test}/delete'
path: 'admin/structure/config_test/manage/{config_test}/delete'
defaults:
_entity_form: 'config_test.delete'
entity_type: 'config_test'
......
contact.category_delete:
path: 'admin/structure/contact/manage/{contact_category}/delete'
path: 'admin/structure/contact/manage/{contact_category}/delete'
defaults:
_entity_form: contact_category.delete
requirements:
_entity_access: contact_category.delete
contact.category_list:
path: '/admin/structure/contact'
path: '/admin/structure/contact'
defaults:
_entity_list: 'contact_category'
requirements:
_permission: 'administer contact forms'
contact.category_add:
path: '/admin/structure/contact/add'
path: '/admin/structure/contact/add'
defaults:
_entity_form: contact_category.add
requirements:
_permission: 'administer contact forms'
contact.category_edit:
path: '/admin/structure/contact/manage/{contact_category}'
path: '/admin/structure/contact/manage/{contact_category}'
defaults:
_entity_form: contact_category.edit
requirements:
......
content_translation.translatable:
path: 'admin/config/regional/content_translation/translatable/{entity_type}/{field_name}'
path: 'admin/config/regional/content_translation/translatable/{entity_type}/{field_name}'
defaults:
_form: 'Drupal\content_translation\Form\TranslatableForm'
requirements:
......
contextual.render:
path: '/contextual/render'
path: '/contextual/render'
defaults:
_controller: '\Drupal\contextual\ContextualController::render'
requirements:
......
dblog.overview:
path: '/admin/reports/dblog'
path: '/admin/reports/dblog'
defaults:
_content: '\Drupal\dblog\Controller\DbLogController::overview'
requirements:
_permission: 'access site reports'
dblog.event:
path: 'admin/reports/event/{event_id}'
path: 'admin/reports/event/{event_id}'
defaults:
_content: '\Drupal\dblog\Controller\DbLogController::eventDetails'
requirements:
......
edit.metadata:
path: '/edit/metadata'
path: '/edit/metadata'
defaults:
_controller: '\Drupal\edit\EditController::metadata'
requirements:
_permission: 'access in-place editing'
edit.attachments:
path: '/edit/attachments'
path: '/edit/attachments'
defaults:
_controller: '\Drupal\edit\EditController::attachments'
requirements:
_permission: 'access in-place editing'
edit.field_form:
path: '/edit/form/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
path: '/edit/form/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
defaults:
_controller: '\Drupal\edit\EditController::fieldForm'
options:
......@@ -23,7 +23,7 @@ edit.field_form:
_access_edit_entity_field: 'TRUE'
edit.entity_save:
path: '/edit/entity/{entity_type}/{entity}'
path: '/edit/entity/{entity_type}/{entity}'
defaults:
_controller: '\Drupal\edit\EditController::entitySave'
options:
......
editor.field_untransformed_text:
path: '/editor/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
path: '/editor/{entity_type}/{entity}/{field_name}/{langcode}/{view_mode_id}'
defaults:
_controller: '\Drupal\editor\EditorController::getUntransformedText'
options:
......@@ -9,14 +9,14 @@ editor.field_untransformed_text:
_access_edit_entity_field: 'TRUE'
editor.image_dialog:
path: '/editor/dialog/image/{filter_format}'
path: '/editor/dialog/image/{filter_format}'
defaults:
_form: '\Drupal\editor\Form\EditorImageDialog'
requirements:
_entity_access: 'filter_format.view'
editor.link_dialog:
path: '/editor/dialog/link/{filter_format}'
path: '/editor/dialog/link/{filter_format}'
defaults:
_form: '\Drupal\editor\Form\EditorLinkDialog'
requirements:
......
entity.display_mode:
path: '/admin/structure/display-modes'
path: '/admin/structure/display-modes'
defaults:
_content: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
requirements:
_permission: 'administer display modes'
entity.view_mode_list:
path: '/admin/structure/display-modes/view'
path: '/admin/structure/display-modes/view'
defaults:
_entity_list: 'view_mode'
requirements:
_permission: 'administer display modes'
entity.view_mode_add:
path: '/admin/structure/display-modes/view/add'
path: '/admin/structure/display-modes/view/add'
defaults:
_content: '\Drupal\entity\Controller\EntityDisplayModeController::viewModeTypeSelection'
requirements:
_permission: 'administer display modes'
entity.view_mode_add_type:
path: '/admin/structure/display-modes/view/add/{entity_type}'
path: '/admin/structure/display-modes/view/add/{entity_type}'
defaults:
_entity_form: 'view_mode.add'
requirements:
_permission: 'administer display modes'
entity.view_mode_edit:
path: '/admin/structure/display-modes/view/manage/{view_mode}'
path: '/admin/structure/display-modes/view/manage/{view_mode}'
defaults:
_entity_form: 'view_mode.edit'
requirements:
_entity_access: 'view_mode.update'
entity.view_mode_delete:
path: '/admin/structure/display-modes/view/manage/{view_mode}/delete'
path: '/admin/structure/display-modes/view/manage/{view_mode}/delete'
defaults:
_entity_form: 'view_mode.delete'
requirements:
_entity_access: 'view_mode.delete'
entity.form_mode_list:
path: '/admin/structure/display-modes/form'
path: '/admin/structure/display-modes/form'
defaults:
_entity_list: 'form_mode'
requirements: