# Equipment reservation menu items definition
entity.equipment_reservation.collection:
  title: 'Equipment reservations'
  route_name: entity.equipment_reservation.collection
  description: 'List Equipment reservation entities'
  parent: system.admin_content

equipment_reservation.admin.structure.settings:
  title: 'Equipment reservations'
  description: 'Configure Equipment reservation entities'
  route_name: equipment_reservation.settings
  parent: intercept_core.admin_structure

intercept_equipment.account.equipment_reservations:
  title: 'Equipment Reservations'
  weight: 0
  route_name: intercept_equipment.account.equipment_reservations
  menu_name: account
  class: Drupal\intercept_core\Plugin\Menu\UserMenuLink

intercept_equipment.equipment_parent:
  title: 'Equipment'
  weight: 2
  route_name: <front>
  menu_name: intercept-manage
  class: Drupal\intercept_equipment\Plugin\Menu\EquipmentMenuLink

intercept_equipment.equipment_create:
  parent: intercept_equipment.equipment_parent
  title: 'Create Reservation'
  weight: 1
  route_name: view.intercept_equipment.page
  menu_name: intercept-manage
  class: Drupal\intercept_equipment\Plugin\Menu\EquipmentMenuLink

intercept_equipment.equipment_my:
  parent: intercept_equipment.equipment_parent
  title: 'My Reservations'
  weight: 2
  route_name: intercept_equipment.account.equipment_reservations
  menu_name: intercept-manage
  class: Drupal\intercept_equipment\Plugin\Menu\EquipmentMenuLink

intercept_equipment.export_equipment_reservations:
  parent: intercept_event.export_parent
  title: 'Equipment Reservations'
  route_name: view.intercept_export_equipment_reservations.page
  menu_name: intercept-manage
  class: Drupal\intercept_equipment\Plugin\Menu\ExportMenuLink

# System Config child link
intercept_equipment.config_equipment:
  parent: intercept_core.config_parent
  title: 'Equipment'
  weight: 0
  route_name: intercept_equipment.management.equipment_configuration.redirect
  menu_name: intercept-manage
  class: Drupal\intercept_core\Plugin\Menu\ConfigMenuLink
