You are here

smart_date.routing.yml in Smart Date 3.x

File

smart_date.routing.yml
View source
  1. entity.smart_date_format.canonical:
  2. path: '/admin/config/regional/smart-date/{smart_date_format}'
  3. defaults:
  4. _entity_view: 'smart_date_format'
  5. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::title'
  6. entity.smart_date_format.collection:
  7. path: '/admin/config/regional/smart-date'
  8. defaults:
  9. _entity_list: 'smart_date_format'
  10. _title: 'Smart date formats'
  11. requirements:
  12. _permission: 'administer site configuration'
  13. entity.smart_date_format.add_form:
  14. path: '/admin/config/regional/smart-date/add'
  15. defaults:
  16. _entity_form: 'smart_date_format.add'
  17. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::addTitle'
  18. entity_type_id: 'smart_date_format'
  19. requirements:
  20. _permission: 'administer site configuration'
  21. entity.smart_date_format.edit_form:
  22. path: '/admin/config/regional/smart-date/{smart_date_format}/configure'
  23. defaults:
  24. _entity_form: 'smart_date_format.edit'
  25. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::editTitle'
  26. entity_type_id: 'smart_date_format'
  27. requirements:
  28. _permission: 'administer site configuration'
  29. entity.smart_date_format.delete_form:
  30. path: '/admin/config/regional/smart-date/{smart_date_format}/delete'
  31. defaults:
  32. _entity_form: 'smart_date_format.delete'
  33. _title_callback: '\Drupal\Core\Entity\Controller\EntityController::deleteTitle'
  34. entity_type_id: 'smart_date_format'
  35. requirements:
  36. _permission: 'administer site configuration'