dsfr4drupal-1.x-dev/components/navigation/navigation.component.yml

components/navigation/navigation.component.yml
name: DSFR - Navigation
description: The main navigation is the central element of navigation within the site, it guides the user through the large sections of the site and possibly several levels of depth.
status: stable
group: DSFR
props:
  properties:
    aria_label:
      type: string
      title: Menu "aria-label" attribute
      description: 'By default: "Main menu", or the translated string in another language.'
    attributes:
      type: Drupal\Core\Template\Attribute
      title: Attributes
    html_id:
      type: string
      title: HTML identifier
    is_mega_menu:
      type: boolean
      title: Is mega menu?
      default: false
    mega_menu_title_level:
      type: integer
      title: Mega menu title level
      default: 4
      enum:
        - 2
        - 3
        - 4
        - 5
        - 6
    mega_menu_category_level:
      type: integer
      title: Mega menu category level
      description: If the mega menu contains parent titles (if they are displayed), the categories must be one subheading level below.
      default: 5
      enum:
        - 2
        - 3
        - 4
        - 5
        - 6
    items:
      type: array
      title: Items
      description: Expected Drupal menu link items.
      items:
        type: object
  required:
    - items
libraryOverrides:
  dependencies:
    - dsfr4drupal/component.navigation

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

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