intercept_core.settings:
  title: 'Intercept Settings'
  description: 'Administer Intercept specific settings.'
  route_name: intercept_core.settings
  parent: system.admin_config

intercept_core.general:
  title: 'Intercept Settings'
  description: 'Intercept general settings.'
  route_name: intercept_core.general
  parent: intercept_core.settings

intercept_core.permissions:
  title: 'Intercept Permissions'
  description: 'Intercept specific permissions.'
  route_name: intercept_core.admin_permissions
  parent: intercept_core.settings

intercept_core.admin_structure:
  title: 'Intercept'
  description: 'Configure Intercept entity structures.'
  route_name: intercept_core.admin_structure
  parent: system.admin_structure

intercept_core.account.settings:
  title: 'Settings'
  route_name: intercept_core.account.settings
  menu_name: account
  # See: https://gorannikolovski.com/blog/menu-links-dynamic-values
  class: Drupal\intercept_core\Plugin\Menu\UserMenuLink

intercept_core.user_edit:
  title: 'Manage Account'
  route_name: intercept_core.user_edit
  menu_name: account

# Management menu
intercept_core.manage:
  deriver: \Drupal\intercept_core\Plugin\Derivative\InterceptMenuLinks

# System Config
intercept_core.config_parent:
  title: 'System Config'
  weight: 10
  route_name: <front>
  menu_name: intercept-manage
  class: Drupal\intercept_core\Plugin\Menu\ConfigMenuLink

# System Config child link
intercept_core.config_location:
  parent: intercept_core.config_parent
  title: 'Site Settings'
  weight: 0
  route_name: intercept_core.management.settings.redirect
  menu_name: intercept-manage
  class: Drupal\intercept_core\Plugin\Menu\ConfigMenuLink
