You are here

profile.links.task.yml in Profile 2 8

File

profile.links.task.yml
View source
  1. # Tabs on the profile admin page
  2. profile.overview_profiles_tab:
  3. route_name: profile.overview_profiles
  4. base_route: profile.overview_profiles
  5. title: 'Profiles'
  6. profile.overview_types_tab:
  7. route_name: profile.overview_types
  8. base_route: profile.overview_profiles
  9. title: 'Profile types'
  10. # Secondary tabs on main account edit page
  11. # Duplicate user edit tab
  12. entity.profile.edit_form:
  13. route_name: entity.profile.edit_form
  14. title: 'User account'
  15. parent_id: entity.user.edit_form
  16. weight: -100
  17. # Add tabs for each profile type
  18. entity.profile.add_form:
  19. title: 'Add new profile'
  20. route_name: entity.profile.add_form
  21. parent_id: entity.user.edit_form
  22. deriver: Drupal\profile\Plugin\Derivative\ProfileAddLocalTask