navigation_extra-1.0.x-dev/config/schema/navigation_extra.schema.yml

config/schema/navigation_extra.schema.yml
navigation_extra.settings:
  type: config_object
  label: 'Navigation extra settings'
  mapping:
    plugins:
      type: sequence
      label: 'Plugin settings'
      sequence:
        type: navigation_extra.plugin.[%key]

navigation_extra.plugin:
  type: mapping
  mapping:
    enabled:
      type: boolean
      label: 'Enable'
    weight:
      type: integer
      label: 'Weight'

navigation_extra.recent_items:
  type: mapping
  label: 'Recent items'
  mapping:
    number_of_items:
      type: integer
      label: 'Number of items'
    link:
      type: string
      label: 'link'

navigation_extra.collections:
  type: sequence
  label: 'Collections'
  sequence:
    type: navigation_extra.collection

navigation_extra.collection:
  type: mapping
  label: 'Collection'
  mapping:
    label:
      type: string
      label: 'Label'
    collections:
      type: navigation_extra.collections
    items:
      type: sequence
      label: 'Items'
      sequence:
        type: string

navigation_extra.create_items:
  type: mapping
  label: 'Create items'
  mapping:
    hide_from_navigation_create:
      type: boolean
      label: 'Hide from create new content menu'
    show_create_new_links:
      type: boolean
      label: 'Show create new content links'
    navigation_create_collections:
      type: boolean
      label: 'Use collections in create new content menu'

navigation_extra.plugin.common:
  type: navigation_extra.plugin
  mapping:
    group_collections:
      type: string
      label: 'Group collections'
    hide_empty_collections:
      type: boolean
      label: 'Hide empty collections'
    hide_add_new_content:
      type: boolean
      label: 'Hide the add new content item'
    override_max_menu_depth:
      type: boolean
      lable: 'Override max menu depth'

navigation_extra.plugin.blocks:
  type: navigation_extra.plugin
  mapping:
    hide_core_link:
      type: boolean
      label: 'Hide core link'

navigation_extra.plugin.content:
  type: navigation_extra.plugin
  mapping:
    recent_items:
      type: navigation_extra.recent_items
    collections:
      type: navigation_extra.collections
    create_items:
      type: navigation_extra.create_items

navigation_extra.plugin.files:
  type: navigation_extra.plugin
  mapping:
    hide_core_link:
      type: boolean
      label: 'Hide core link'
    show_in_media:
      type: boolean
      label: 'Show files in media'

navigation_extra.plugin.media:
  type: navigation_extra.plugin
  mapping:
    collections:
      type: navigation_extra.collections
    link_media_library:
      type: boolean
      label: 'Link to media library'
    create_items:
      type: navigation_extra.create_items

navigation_extra.plugin.taxonomies:
  type: navigation_extra.plugin
  mapping:
    collections:
      type: navigation_extra.collections
    create_items:
      type: navigation_extra.create_items

navigation_extra.plugin.users:
  type: navigation_extra.plugin
  mapping:
    collections:
      type: navigation_extra.collections
    roles:
      type: boolean
      label: 'Show role items'
    roles_to_show:
      type: sequence
      label: 'Roles to show'
      sequence:
        type: string
    people:
      type: string
      label: 'People item'
    add_new_user:
      type: string
      label: 'Add new user item'

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

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