eck-8.x-1.x-dev/config/schema/eck.schema.yml

config/schema/eck.schema.yml
# Schema for the configuration files of the ECK module.

# This schema tells the config system how to read the config YML files.

eck.settings:
  type: config_object
  label: 'ECK settings'
  mapping:
    use_admin_theme:
      type: boolean
      label: 'Use administration theme when editing or creating ECK entities'

eck.eck_entity_type.*:
  type: config_entity
  label: 'ECK Entity Type'
  mapping:
    id:
      type: string
      label: 'Id'
    label:
      type: label
      label: 'Name'
    description:
      type: text
      label: 'Description'
    uid:
      type: boolean
      label: 'Author'
    created:
      type: boolean
      label: 'Created'
    changed:
      type: boolean
      label: 'Changed'
    title:
      type: boolean
      label: 'Title'
    status:
      type: boolean
      label: 'Status'
    standalone_url:
      type: boolean
      label: 'Allow entities to be viewed standalone at /{entity_type}/{id}'

eck.eck_type.*:
  type: config_entity
  label: 'ECK Entity bundle'
  mapping:
    name:
      type: label
      label: 'Name'
    type:
      type: string
      label: 'Bundle machine name'
    description:
      type: text
      label: 'Explanation or submission guidelines'

views.field.eck_entity_label:
  type: views_field
  label: 'Entity label'
  mapping:
    link_to_entity:
      type: boolean
      label: 'Link to the entity'

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

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