paragraphs_frontend_ui.routing.yml in Paragraphs frontend ui 8.2
Same filename and directory in other branches
File
paragraphs_frontend_ui.routing.ymlView source
- paragraphs_frontend_ui.edit_settings:
- path: '/paragraphs/{root_parent_type}/{root_parent}/paragraphs/{paragraph}/edit'
- defaults:
- _entity_form: 'paragraph.settings'
- requirements:
- _entity_access: 'root_parent.update'
- _custom_access: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::accessEditSettings'
- root_parent: \d+
- js: 'nojs|ajax'
- options:
- _admin_route: TRUE
- parameters:
- root_parent:
- type: 'entity:{root_parent_type}'
- paragraph:
- type: 'entity:paragraph'
-
- paragraphs_frontend_ui.up:
- path: '/paragraphs/{root_parent_type}/{root_parent}/paragraphs/{paragraph}/up'
- defaults:
- _title: 'Up'
- _controller: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::up'
- requirements:
- _entity_access: 'root_parent.update'
- _custom_access: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::accessUp'
- root_parent: \d+
- js: 'nojs|ajax'
- options:
- parameters:
- root_parent:
- type: 'entity:{root_parent_type}'
- paragraph:
- type: 'entity:paragraph'
-
- paragraphs_frontend_ui.down:
- path: '/paragraphs/{root_parent_type}/{root_parent}/paragraphs/{paragraph}/down'
- defaults:
- _title: 'Down'
- _controller: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::down'
- requirements:
- _entity_access: 'root_parent.update'
- _custom_access: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::accessDown'
- root_parent: \d+
- js: 'nojs|ajax'
- options:
- parameters:
- root_parent:
- type: 'entity:{root_parent_type}'
- paragraph:
- type: 'entity:paragraph'
-
- paragraphs_frontend_ui.duplicate:
- path: '/paragraphs/{root_parent_type}/{root_parent}/paragraphs/{paragraph}/duplicate'
- defaults:
- _title: 'Duplicate'
- _controller: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::duplicate'
- requirements:
- _entity_access: 'root_parent.update'
- _custom_access: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::accessLibraryItem'
- root_parent: \d+
- js: 'nojs|ajax'
- options:
- parameters:
- root_parent:
- type: 'entity:{root_parent_type}'
- paragraph:
- type: 'entity:paragraph'
-
- paragraphs_frontend_ui.add_below:
- path: '/paragraphs/{root_parent_type}/{root_parent}/paragraphs/{paragraph}/add-below'
- defaults:
- _title: 'Add a paragraph below'
- _controller: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::addBelow'
- requirements:
- _entity_access: 'root_parent.update'
- _custom_access: '\Drupal\paragraphs_frontend_ui\Controller\ParagraphsFrontendUIController::accessLibraryItem'
- root_parent: \d+
- js: 'nojs|ajax'
- options:
- _admin_route: FALSE
- parameters:
- root_parent:
- type: 'entity:{root_parent_type}'
- paragraph:
- type: 'entity:paragraph'
-
- paragraphs_frontend_ui.settings_form:
- path: '/admin/paragraphs-frontend-ui/settings'
- defaults:
- _form: 'Drupal\paragraphs_frontend_ui\Form\SettingsForm'
- _title: 'Paragraphs frontend UI - Settings form'
- requirements:
- _permission: 'administer paragraphs frontend ui settings'