opigno_certificate.routing.yml in Opigno certificate 3.x
Same filename and directory in other branches
2 string references to YAML keys in opigno_certificate.routing.yml
- EventSubscriber::alterConfiguration in src/
EventSubscriber/ EventSubscriber.php - Sets paper orientation depending to certificate paper_orientation field.
- template_preprocess_opigno_certificate in ./
opigno_certificate.module - Implements template_preprocess_HOOK().
File
opigno_certificate.routing.ymlView source
- certificate.entity.view:
- path: 'certificate/{entity_type}/{entity_id}'
- defaults:
- _controller: '\Drupal\opigno_certificate\Controller\CertificateController::viewEntity'
- _title: 'Certificate'
- requirements:
- _custom_access: '\Drupal\opigno_certificate\Controller\CertificateController::viewAccess'
-
- certificate.entity.pdf:
- path: 'certificate/{entity_type}/{entity_id}/pdf'
- defaults:
- _controller: '\Drupal\opigno_certificate\Controller\EntityPrintController::viewPrint'
- _title: 'Entity Print'
- requirements:
- _custom_access: '\Drupal\opigno_certificate\Controller\CertificateController::viewAccess'
-
- opigno_certificate.settings:
- path: 'admin/structure/opigno_certificate'
- defaults:
- _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
- _title: 'Opigno Certificate'
- requirements:
- _permission: 'administer certificates'
- options:
- _admin_route: TRUE
- parameters:
- account:
- type: entity:user