crm_core.manage:
  path: '/admin/structure/crm-core'
  defaults:
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
    _title: 'CRM'
  requirements:
    _permission: 'access administration pages'

crm_core.overview:
  path: '/crm-core'
  defaults:
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
    _title: 'CRM'
  requirements:
    _custom_access: '\Drupal\crm_core\Access\CRMCoreAccess::access'

crm_core.config_overview:
  path: '/admin/config/crm-core'
  defaults:
    _controller: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage'
    _title: 'CRM'
  requirements:
    _permission: 'access administration pages'

crm_core.settings:
  path: '/admin/config/crm-core/settings'
  defaults:
    _form: 'Drupal\crm_core\Form\SettingsForm'
    _title: 'General settings'
  requirements:
    _permission: 'administer crm-core'
