You are here

opigno_course.routing.yml in Opigno course 3.x

Same filename and directory in other branches
  1. 8 opigno_course.routing.yml

File

opigno_course.routing.yml
View source
  1. opigno_course.course-content:
  2. path: '/group/{group}/course-content'
  3. defaults:
  4. _form: '\Drupal\opigno_course\Form\CourseContentForm'
  5. _title: 'Course content'
  6. requirements:
  7. _custom_access: '\Drupal\opigno_course\Form\CourseContentForm::access'
  8. options:
  9. parameters:
  10. group:
  11. type: entity:group