workflow_participants-8.x-2.x-dev/config/schema/workflow_participants.schema.yml

config/schema/workflow_participants.schema.yml
# Workflow participant settings.
workflow_participants.settings:
  type: config_object
  label: 'Workflow participant settings'
  mapping:
    enable_notifications:
      type: boolean
      label: 'Notify participants when they are added'
    participant_message:
      type: mapping
      mapping:
        subject:
          type: string
          label: 'Email subject'
        body:
          type: text_format
          label: 'Email body'

workflows.workflow.*.third_party.workflow_participants:
  type: mapping
  label: 'Workflow transitions that participants can make'
  mapping:
    editor_transitions:
      type: sequence
      label: 'Enable editors'
      sequence:
        type: string
        label: 'Transition'
    reviewer_transitions:
      type: sequence
      label: 'Enable reviewers'
      sequence:
        type: string
        label: 'Transition'

# 3rd-party settings for content_moderation_notifications integration.
content_moderation_notifications.content_moderation_notification.*.third_party.workflow_participants:
  type: mapping
  label: 'Participant notifications'
  mapping:
    editors:
      type: boolean
      label: 'Editors'
    reviewers:
      type: boolean
      label: 'Reviewers'

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

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