cloud-8.x-2.0-beta1/cloud.links.menu.yml

cloud.links.menu.yml
# This is the /clouds menu.
cloud.service_providers.menu:
  class: Drupal\cloud\Plugin\Menu\CloudProviderLink
  menu_name: main
  expanded: true

# MENU_NORMAL_ITEM.
cloud.design.menu:
  title: 'Design'
  route_name: 'view.cloud_server_template.list'
  menu_name: main
  expanded: true

# Manage cloud service provider (CloudConfig).
cloud.admin.menu:
  title: 'Manage'
  route_name: 'view.cloud_config.admin'
  menu_name: main
  expanded: true

# The cloud service provider (CloudConfig) menu items definition.
entity.cloud_config.collection:
  title: 'Cloud service providers'
  route_name: entity.cloud_config.collection
  description: 'List cloud service providers'
  parent: system.admin_structure
  weight: 100

# The cloud service provider type (CloudConfigType) menu items definition.
entity.cloud_config_type.collection:
  title: 'Cloud service provider types'
  route_name: entity.cloud_config_type.collection
  description: 'List cloud service provider types (bundles)'
  parent: system.admin_structure
  weight: 99

# The cloud server template type menu items definition.
entity.cloud_server_template_type.collection:
  title: 'Cloud server template types'
  route_name: entity.cloud_server_template_type.collection
  description: 'List cloud server template types (bundles)'
  parent: system.admin_structure
  weight: 99

# Deriver for cloud context based collection links.
entity.cloud_server_template.cloud_context.collection:
  deriver: 'Drupal\cloud\Plugin\Derivative\CloudServerTemplateMenuLinks'
  weigth: 100

# Adming settings for cloud.
cloud.settings:
  route_name: 'cloud.settings'
  title: Cloud settings
  parent: system.admin_config_services

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc