flow-1.0.0-beta8/config/schema/flow.schema.yml

config/schema/flow.schema.yml
flow.settings:
  type: config_object
  label: 'Flow settings'
  mapping:
    cron:
      type: mapping
      label: 'Cron settings'
      mapping:
        limit:
          type: integer
          label: 'Maximum number of tasks to process during Cron run'

flow.flow.*.*.*:
  type: config_entity
  label: 'Flow'
  mapping:
    id:
      type: string
      label: 'ID'
    status:
      type: boolean
      label: 'Enabled'
    targetEntityType:
      type: string
      label: 'Target entity type'
    targetBundle:
      type: string
      label: 'Target entity bundle'
    taskMode:
      type: string
      label: 'Task mode'
    tasks:
      type: sequence
      label: 'Tasks'
      sequence:
        type: flow_task
        label: 'Task'
    custom:
      type: flow_custom
      label: 'Custom flow settings'

flow_subject:
  type: mapping
  label: 'Flow subject'
  mapping:
    id:
      type: string
      label: 'Flow subject plugin ID'
    type:
      type: string
      label: 'Flow subject base plugin ID'
    settings:
      type: flow.subject.settings.[%parent.type]
      label: 'Settings'
    third_party_settings:
      type: sequence
      label: 'Third party settings'
      sequence:
        type: flow.subject.third_party.[%key]

flow_task:
  type: mapping
  label: 'Flow task'
  mapping:
    id:
      type: string
      label: 'Flow task plugin ID'
    type:
      type: string
      label: 'Flow task base plugin ID'
    weight:
      type: integer
      label: 'Weight'
    active:
      type: boolean
      label: 'Active'
    execution:
      type: mapping
      label: 'Execution settings'
      mapping:
        start:
          type: string
          label: 'Start method'
    subject:
      type: flow_subject
    settings:
      type: flow.task.settings.[%parent.type]
      label: 'Settings'
    third_party_settings:
      type: sequence
      label: 'Third party settings'
      sequence:
        type: flow.task.third_party.[%key]

flow_subject_fallback:
  type: mapping
  label: 'Subject fallback settings'
  mapping:
    method:
      type: string
      label: 'Fallback method'

flow_custom:
  type: mapping
  label: 'Custom flow settings'
  mapping:
    label:
      type: string
      label: 'Human-readable label'
    baseMode:
      type: string
      label: 'Base task mode'
    qualifiers:
      type: sequence
      label: 'Qualifiers'
      sequence:
        type: flow_qualifier

flow_qualifier:
  type: mapping
  label: 'Flow qualifier'
  mapping:
    id:
      type: string
      label: 'Flow qualifier plugin ID'
    type:
      type: string
      label: 'Flow qualifier base plugin ID'
    weight:
      type: integer
      label: 'Weight'
    active:
      type: boolean
      label: 'Active'
    subject:
      type: flow_subject
    settings:
      type: flow.qualifier.settings.[%parent.type]
      label: 'Settings'
    third_party_settings:
      type: sequence
      label: 'Third party settings'
      sequence:
        type: flow.qualifier.third_party.[%key]

flow.task.settings.merge:
  type: mapping
  label: 'Merge plugin settings'
  mapping:
    values:
      type: ignore
      label: 'Values to merge'
    fields:
      type: sequence
      label: 'Fields to merge'
      sequence:
        type: string
        label: 'Field name'
    check_langcode:
      type: boolean
      label: 'Check language'
    method:
      type: mapping
      label: 'Merge method'
      mapping:
        single:
          type: string
          label: 'Single-value fields'
        multi:
          type: string
          label: 'Multi-value fields'

flow.task.settings.relate:
  type: mapping
  label: 'Relate plugin settings'
  mapping:
    field_name:
      type: string
      label: 'Reference field machine name'
    method:
      type: string
      label: 'Reference method'
    reverse:
      type: mapping
      label: 'Reverse reference settings'
      mapping:
        field_name:
          type: string
          label: 'Reverse reference field machine name'
        method:
          type: string
          label: 'Reverse reference method'
    target:
      type: flow_subject
      label: 'Target subject'

flow.subject.settings.load:
  type: mapping
  label: 'Load plugin settings'
  mapping:
    mode:
      type: string
      label: 'Load mode (id, uuid, view)'
    entity_id:
      type: string
      label: 'Entity ID'
    entity_uuid:
      type: string
      label: 'Entity UUID'
    view:
      type: mapping
      label: 'Views configuration'
      mapping:
        id:
          type: string
          label: 'Views configuration ID'
        display:
          type: string
          label: 'Views display ID'
        arguments:
          type: string
          label: 'Arguments passed to the view'
    fallback:
      type: flow_subject_fallback

flow.subject.settings.reference:
  type: mapping
  label: 'Reference plugin settings'
  mapping:
    field_name:
      type: string
      label: 'Field machine name'
    source:
      type: flow_subject
      label: 'Source subject'
    fallback:
      type: flow_subject_fallback

flow.subject.settings.new:
  type: mapping
  label: 'New content settings'
  mapping:
    values:
      type: ignore
      label: 'Values of the new content'

flow.subject.settings.save:
  type: mapping
  label: 'Content being saved settings'

flow.subject.settings.create:
  type: mapping
  label: 'Content being created settings'

flow.subject.settings.delete:
  type: mapping
  label: 'Content being deleted settings'

flow.subject.settings.action:
  type: mapping
  label: 'Action on content settings'

flow.qualifier.settings.congruent:
  type: mapping
  label: 'Congruent content settings'
  mapping:
    values:
      type: ignore
      label: 'Congruent values'
    fields:
      type: sequence
      label: 'Fields to check'
      sequence:
        type: string
        label: 'Field name'
    method:
      type: mapping
      label: 'Congruency method'
      mapping:
        admission:
          type: string
          label: 'Congruency admission'
        multi:
          type: string
          label: 'Congruency on multi-value fields'

flow.qualifier.settings.token:
  type: mapping
  label: 'Token matching content settings'
  mapping:
    left:
      type: string
      label: 'Left value'
    right:
      type: string
      label: 'Right value'
    comparison:
      type: string
      label: 'Comparison'

flow.qualifier.settings.always:
  type: mapping
  label: 'Always qualified content settings'
  mapping:
    qualified:
      type: string
      label: 'Qualified'

action.configuration.flow:*.*:
  type: action_configuration_default
  label: 'Flow action'

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

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