You are here

dfp.routing.yml in Doubleclick for Publishers (DFP) 8

File

dfp.routing.yml
View source
  1. dfp.admin_settings:
  2. path: 'admin/structure/dfp/settings'
  3. defaults:
  4. _form: '\Drupal\dfp\Form\AdminSettings'
  5. _title: 'Global DFP Settings'
  6. requirements:
  7. _permission: 'administer DFP'
  8. dfp.test_page:
  9. path: 'admin/structure/dfp/test_page'
  10. requirements:
  11. _permission: 'administer DFP'
  12. # $items['admin/structure/dfp_ads/test_page'] = array(
  13. # 'title' => 'DFP Test Page',
  14. # 'type' => MENU_LOCAL_TASK,
  15. # 'description' => "View all your DFP tags on a single page",
  16. # 'page callback' => 'dfp_adtest_page',
  17. # 'access arguments' => array('administer DFP'),
  18. # 'file' => 'dfp.adtest.inc',
  19. # 'weight' => 10,
  20. # );
  21. entity.dfp_tag.add_form:
  22. path: '/admin/structure/dfp/tags/add'
  23. defaults:
  24. _entity_form: 'dfp_tag.add'
  25. _title: 'Add DFP tag'
  26. requirements:
  27. _permission: 'administer DFP'
  28. entity.dfp_tag.edit_form:
  29. path: '/admin/structure/dfp/tags/manage/{dfp_tag}'
  30. defaults:
  31. _entity_form: 'dfp_tag.edit'
  32. requirements:
  33. _permission: 'administer DFP'
  34. entity.dfp_tag.delete_form:
  35. path: '/admin/structure/dfp/tags/manage/{dfp_tag}/delete'
  36. defaults:
  37. _entity_form: 'dfp_tag.delete'
  38. _title: 'Delete'
  39. requirements:
  40. _permission: 'administer DFP'
  41. # _entity_access: 'dfp_tag.delete'
  42. entity.dfp_tag.collection:
  43. path: '/admin/structure/dfp/tags'
  44. defaults:
  45. _entity_list: 'dfp_tag'
  46. _title: 'DFP tags'
  47. requirements:
  48. _permission: 'administer DFP'