opigno_group_manager.routing.yml in Opigno group manager 3.x
Same filename and directory in other branches
4 string references to YAML keys in opigno_group_manager.routing.yml
- opigno_group_manager_entity_operation in ./
opigno_group_manager.module - Implements hook_entity_operation().
- opigno_group_manager_form_alter in ./
opigno_group_manager.module - Implements hook_form_alter().
- opigno_group_manager_preprocess_html in ./
opigno_group_manager.module - Implements hook_preprocess_page().
- opigno_group_manager_theme_suggestions_alter in ./
opigno_group_manager.module - Implements hook_theme_suggestions_alter().
File
opigno_group_manager.routing.ymlView source
- ### MANAGER ###
- opigno_group_manager.manager.index:
- path: '/group/{group}/manager'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::index'
- _title: 'Group manager'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- account:
- type: entity:user
-
- opigno_group_manager.manager.get_items:
- path: '/group/{group}/get-items'
- methods: [GET]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getItems'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.get_positions:
- path: '/group/{group}/get-positions/{mainItem}'
- methods: [GET]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getPositions'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.set_positions:
- path: '/group/{group}/set-positions/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::setPositions'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.create_item:
- path: '/group/{group}/create-item/{mainItem}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::createItem'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.update_entities:
- path: '/group/{group}/update-entities'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::updateEntities'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.add_item:
- path: '/group/{group}/add-item/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::addItem'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.delete_item:
- path: '/group/{group}/remove-item/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::removeItem'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.add_link:
- path: '/group/{group}/add-link/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::addLink'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.update_link:
- path: '/group/{group}/update-link/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::updateLink'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.remove_link:
- path: '/group/{group}/remove-link/{mainItem}'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::removeLink'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.get_available_items:
- path: '/group/{group}/get-available-items/{mainItem}'
- methods: [GET]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getAvailableItems'
- mainItem: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.get_available_item_types:
- path: '/group/{group}/get-item-types'
- methods: [GET]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getItemTypes'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.update_item_mandatory:
- path: '/group/{group}/update-mandatory'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::updateItemMandatory'
- item: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.update_item_minscore:
- path: '/group/{group}/update-min-score'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::updateItemMinScore'
- item: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.update_guided_navigation:
- path: '/group/{group}/update-guided-navigation'
- methods: [POST]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::updateGuidedNavigation'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group_manager.manager.get_guided_navigation:
- path: '/group/{group}/get-guided-navigation'
- methods: [GET]
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getGuidedNavigationResponse'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
-
- opigno_group.course_duplicate:
- path: '/admin/structure/course-duplicate/{group}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::courseDuplicate'
- _title: 'Course duplicate'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- account:
- type: entity:user
-
- opigno_group.course_export:
- path: '/admin/structure/opigno_export/opigno_course/{group}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::courseExport'
- _title: 'Course export'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- account:
- type: entity:user
-
- opigno_group.training_export:
- path: '/admin/structure/opigno_export/opigno_training/{group}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::trainingExport'
- _title: 'Training export'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- account:
- type: entity:user
-
- opigno_group.training_duplicate:
- path: '/admin/structure/training-duplicate/{group}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::trainingDuplicate'
- _title: 'Training duplicate'
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- account:
- type: entity:user
-
- # Update/edit node form
- opigno_group_manager.manager.get_item_form:
- path: '/group/{group}/item-form/{type}/{item}'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\OpignoGroupManagerController::getItemForm'
- item: null
- requirements:
- _entity_access: 'group.update'
- options:
- parameters:
- group:
- type: entity:group
- type:
- type: string
-
- # Info card
- opigno_group_manager.manager.hide_info_card:
- path: '/opigno-group-manager/hide-info-card'
- defaults:
- _controller: '\Drupal\opigno_group_manager\Controller\InfoCardController::hideInfoCard'
- requirements:
- # Accessible for all.
- _access: 'TRUE'
- _permission: 'access content'