Custom modules for Pleiade local gov dashboard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pleiade-custom-modules/api_lemon_pleiade/api_lemon_pleiade.routing.yml

41 lines
1.3 KiB

api_lemon_pleiade.settings:
path: '/admin/config/api_lemon_pleiade/settings'
defaults:
_form: '\Drupal\api_lemon_pleiade\Form\PleiadeSSOapiFieldsConfig'
_title: 'API LemonLDAP Pléiade Settings'
requirements:
_permission: 'administer site configuration'
api_lemon_pleiade.lemon_myapps_query:
path: '/v1/api_lemon_pleiade/lemon-myapps-query'
defaults:
_controller: '\Drupal\api_lemon_pleiade\Controller\PleiadeAjaxController::lemon_myapps_query'
_title: 'LemonLDAP API Myapplications Query'
_format: json
requirements:
_access: 'TRUE'
api_lemon_pleiade.lemon_session_query:
path: '/v1/api_lemon_pleiade/lemon-session-query'
defaults:
_controller: '\Drupal\api_lemon_pleiade\Controller\PleiadeAjaxController::lemon_session_query'
_title: 'LemonLDAP API Session Query'
_format: json
requirements:
_access: 'TRUE'
api_lemon_pleiade.my_history:
path: '/history'
defaults:
_controller: '\Drupal\api_lemon_pleiade\Controller\PleiadeAjaxController::myHistory'
_title: 'Historique de connexion'
requirements:
_permission: 'access content'
system.admin_config_pleiade:
path: '/admin/config/pleiade'
defaults:
_controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
_title: 'Pléiade'
requirements:
_permission: 'access administration pages'