comment_notify.schema.yml 1.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
comment_notify.settings:
  type: config_object
  mapping:
    node_types:
      type: sequence
      label: Content types to enable for comment notification
      sequence:
        type: string
    available_alerts:
      type: mapping
      label: Available subscription modes
      mapping:
        # COMMENT_NOTIFY_NODE
        1:
          type: boolean
        # COMMENT_NOTIFY_COMMENT
        2:
          type: boolean
    enable_default:
      type: mapping
      mapping:
        watcher:
          type: string
          label: Default state for the notification selection box
        entity_author:
          type: boolean
          label: Subscribe users to their node follow-up notification emails by default
    mail_templates:
      type: mapping
      label: Default mail text for sending out notifications
      mapping:
        watcher:
          type: mapping
          label: Notifications to commenters
          mapping:
            subject:
              type: label
              label: Subject
            body:
              type: text
              label: Body
        entity_author:
          type: mapping
          label: Notifications to owner of commented entity
          mapping:
            subject:
              type: label
              label: Subject
            body:
              type: text
              label: Body