info:
  type: content_page
  title: 'Subscribe for File Paragraph'
  path:
    alias: /documentation/subscribe-file-paragraph
    pathauto: 0
field_page_section:
  paragraphs:
    -
      paragraph_type: d_p_text_paged
      data:
        field_d_main_title:
          type: text
          data: 'Subscribe File Paragraph'
        field_d_subtitle:
          type: text
          data: 'Droopler Documentation'
        field_d_settings:
          type: field_p_configuration_storage
          custom_class: theme-primary padding-top-default padding-bottom-default margin-top-default margin-bottom-default
          heading_type: h1
    -
      paragraph_type: d_p_text_paged
      data:
        field_d_main_title:
          type: text
          data: 'Full Example'
        field_d_long_text:
          type: text_long
          data: '<p>The Subscribe File Paragraph can come in handy when you need to share some file in exchange for user''s email. It contains three separate elements - the Paragraph itself (visible below), the email (sent to the user after submitting the form) and the download page. See how the full-featured version looks like.</p>'
        field_d_settings:
          type: field_p_configuration_storage
          custom_class: theme-default padding-top-default padding-bottom-default margin-top-default margin-bottom-default
    -
      paragraph_type: d_p_subscribe_file
      data:
        field_d_media_icon:
          type: media_image
          directory: demo
          files:
            -
              path: d_demo/demo_droopler_white.svg
              alt: 'Droopler Logo'
        field_d_main_title:
          type: text
          data: 'Main Title'
        field_d_media_background:
          type: media_image
          directory: demo
          files:
            -
              path: d_demo/d_demo_enginge_overhaul_1.jpg
              alt: Educational
        field_file_download:
          type: file
          data: d_demo/demo_file.zip
          dst_dir: demo
        field_d_p_sf_consent:
          type: text
          data: 'Sample consent checkbox with <a href="#">link</a>.'
        field_d_p_sf_download_button:
          type: text
          data: 'Get download link!'
        field_d_p_sf_download_page:
          type: text_long
          data: '<p>Text on the download page like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p><p>[download-button]</p>'
        field_d_p_sf_mail_body:
          type: text_long
          data: '<p>Mail body like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p><p>[download-button]</p>'
        field_d_long_text:
          type: text_long
          data: '<p>Body text like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p>'
        field_d_p_sf_additional_info:
          type: text_long
          data: '<p>Additional info like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p>'
        field_d_settings:
          type: field_p_configuration_storage
          custom_class: full-example theme-default padding-top-default padding-bottom-default margin-top-default margin-bottom-default
    -
      paragraph_type: d_p_text_paged
      data:
        field_d_main_title:
          type: text
          data: 'Basic Example'
        field_d_long_text:
          type: text_long
          data: '<p>There are lots of ways of configuring Subscribe File Paragraph. See how it looks in the simplest version, with just some form controls.</p>'
        field_d_settings:
          type: field_p_configuration_storage
          custom_class: theme-default padding-top-default padding-bottom-default margin-top-default margin-bottom-default
    -
      paragraph_type: d_p_subscribe_file
      data:
        field_d_media_background:
          type: media_image
          directory: demo
          files:
            -
              path: d_demo/d_demo_buildings.jpg
              alt: Educational
        field_file_download:
          type: file
          data: d_demo/demo_file.zip
          dst_dir: demo
        field_d_p_sf_download_button:
          type: text
          data: 'Get download link!'
        field_d_p_sf_download_page:
          type: text_long
          data: '<p>Text on the download page like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p><p>[download-button]</p>'
        field_d_p_sf_mail_body:
          type: text_long
          data: '<p>Mail body like: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam cursus tristique dui dignissim gravida.</p><p>[download-button]</p>'
        field_d_settings:
          type: field_p_configuration_storage
          custom_class: basic-example theme-default padding-top-default padding-bottom-default margin-top-default margin-bottom-default
field_teaser_media_image:
  type: media_image
  directory: demo
  files:
    -
      path: d_demo/demo-logo.svg
      alt: Droopler
field_teaser_text:
  type: text_long
  data: 'Discover possibilities of Droopler distribution for Drupal.'
