function CertificateTabController::accessPdf in Course 8.3
Same name and namespace in other branches
- 8.2 modules/course_certificate/src/Controller/CertificateTabController.php \Drupal\course_certificate\Controller\CertificateTabController::accessPdf()
Downloads
Parameters
Course $course:
AccountInterface $account:
CertificateTemplate $template:
Return value
type
1 string reference to 'CertificateTabController::accessPdf'
- course_certificate.routing.yml in modules/
course_certificate/ course_certificate.routing.yml - modules/course_certificate/course_certificate.routing.yml
File
- modules/
course_certificate/ src/ Controller/ CertificateTabController.php, line 166
Class
- CertificateTabController
- An example controller.
Namespace
Drupal\course_certificate\ControllerCode
function accessPdf(Course $course, AccountInterface $account, CertificateTemplate $template) {
return $this
->accessTab($course, $account);
}