media_acquiadam.routing.yml in Media: Acquia DAM 8
File
media_acquiadam.routing.yml
View source
- media_acquiadam.config:
- path: '/admin/config/media/acquiadam'
- defaults:
- _form: '\Drupal\media_acquiadam\Form\AcquiadamConfig'
- _title: 'Acquia DAM Configuration'
- requirements:
- _permission: 'administer site configuration'
-
- entity.user.acquiadam_auth:
- path: '/user/{user}/acquiadam'
- defaults:
- _title: 'Acquia DAM'
- _controller: '\Drupal\media_acquiadam\Controller\OauthController::authPage'
- requirements:
- _user_is_logged_in: 'TRUE'
- user: \d+
- options:
- no_cache: 'TRUE'
-
- media_acquiadam.auth_start:
- path: '/acquiadam/authStart'
- defaults:
- _title: 'Redirect to DAM'
- _controller: '\Drupal\media_acquiadam\Controller\OauthController::authStart'
- requirements:
- _user_is_logged_in: 'TRUE'
- options:
- no_cache: 'TRUE'
-
- media_acquiadam.logout:
- path: '/acquiadam/logout'
- defaults:
- _title: 'DAM Logout'
- _controller: '\Drupal\media_acquiadam\Controller\OauthController::logout'
- requirements:
- _user_is_logged_in: 'TRUE'
- options:
- no_cache: 'TRUE'
-
- media_acquiadam.auth_finish:
- path: '/acquiadam/authFinish'
- defaults:
- _title: 'Authentication finalization'
- _controller: '\Drupal\media_acquiadam\Controller\OauthController::authFinish'
- requirements:
- _user_is_logged_in: 'TRUE'
- options:
- no_cache: 'TRUE'
-
- media_acquiadam.asset_details:
- path: 'acquiadam/asset/{assetId}'
- defaults:
- _controller: '\Drupal\media_acquiadam\Controller\AcquiadamController:assetDetailsPage'
- _title_callback: '\Drupal\media_acquiadam\Controller\AcquiadamController:assetDetailsPageTitle'
- requirements:
- _user_is_logged_in: 'TRUE'
- assetId: \d+