yamlform.yamlform.template_user_profile.yml in YAML Form 8
modules/yamlform_templates/config/install/yamlform.yamlform.template_user_profile.yml
File
modules/yamlform_templates/config/install/yamlform.yamlform.template_user_profile.ymlView source
- langcode: en
- status: false
- dependencies:
- enforced:
- module:
- - yamlform_templates
- uid: null
- template: true
- id: template_user_profile
- title: 'User Profile'
- description: 'A user profile form template.'
- elements: |
- account_information:
- '#title': 'Your Account Information'
- '#type': fieldset
- user_name:
- '#type': textfield
- '#title': 'User Name'
- picture:
- '#type': managed_file
- '#title': 'Picture'
- '#description': 'Your virtual face or picture. Pictures larger than 1024x1024 pixels will be scaled down.'
- '#max_filesize': '2'
- '#file_extensions': 'gif jpg png svg'
- personal_information:
- '#title': 'Your Personal Information'
- '#type': fieldset
- first_name:
- '#title': 'First Name'
- '#type': textfield
- '#required': true
- last_name:
- '#type': textfield
- '#title': 'Last Name'
- '#required': true
- country:
- '#type': select
- '#title': 'Country'
- '#options': country_names
- location:
- '#type': location
- '#title': 'Location'
- '#title_display': invisible
- '#description': 'Your location will be saved and may be shared.'
- '#geolocation': true
- '#address__title': 'Locations'
- languages:
- '#type': select
- '#title': 'Languages Spoken'
- '#description': 'Select one or more languages you speak.'
- '#multiple': true
- '#select2': true
- '#options': languages
- gender:
- '#type': radios
- '#title': 'Gender'
- '#options': gender
- biography:
- '#type': text_format
- '#title': 'Biography'
- '#description': 'Please include a short blurb about yourself to let us know who you are outside of Drupal.'
- website:
- '#type': url
- '#title': 'Website'
- irc:
- '#type': textfield
- '#title': 'IRC'
- '#description': 'The nickname you use on various channels of irc.freenode.net'
- twitter:
- '#type': textfield
- '#title': 'Twitter'
- '#description': 'Your Twitter handle.'
- github:
- '#type': textfield
- '#title': 'GitHub'
- '#description': 'Your GitHub user name.'
- work_information:
- '#title': 'Your Work Information'
- '#type': fieldset
- current_organization:
- '#type': textfield
- '#title': 'Current Organization'
- current_title:
- '#type': textfield
- '#title': 'Current Job Title'
- organizations:
- '#type': textarea
- '#title': 'Past Organizations'
- '#description': 'List companies or institutions you have worked for.'
- industries:
- '#type': select_other
- '#title': 'Industries Worked In'
- '#options': industry
- '#multiple': true
- '#select2': true
- email_settings:
- '#title': 'E-mail addresses'
- '#type': fieldset
- email:
- '#type': email
- '#title': 'Primary E-mall Address'
- '#description': 'Enter your primary e-mail addresses, which will be used for all e-mail communications.'
- emails:
- '#type': email_multiple
- '#title': 'Secondary E-mall Addresses'
- '#description': 'Enter multiple e-mail addresses separated by commas.'
- regional_settings:
- '#title': 'Regional Settings'
- '#type': fieldset
- time_zone:
- '#type': select
- '#title': 'Timezone'
- '#options': time_zones
- language:
- '#type': select
- '#title': 'Preferred Language'
- '#description': 'This account''s default language for e-mails, and preferred language for site presentation.'
- '#options': languages
- css: ''
- javascript: ''
- settings:
- page: true
- page_submit_path: ''
- page_confirm_path: ''
- form_submit_label: Register
- form_submit_attributes: { }
- form_exception_message: ''
- form_closed_message: ''
- form_confidential: false
- form_confidential_message: ''
- form_prepopulate: false
- form_prepopulate_source_entity: false
- form_novalidate: false
- form_unsaved: false
- form_disable_back: false
- form_autofocus: false
- form_details_toggle: false
- wizard_progress_bar: true
- wizard_progress_pages: false
- wizard_progress_percentage: false
- wizard_next_button_label: ''
- wizard_next_button_attributes: { }
- wizard_prev_button_label: ''
- wizard_prev_button_attributes: { }
- wizard_start_label: ''
- wizard_complete: true
- wizard_complete_label: ''
- preview: 0
- preview_next_button_label: ''
- preview_next_button_attributes: { }
- preview_prev_button_label: ''
- preview_prev_button_attributes: { }
- preview_message: ''
- draft: false
- draft_auto_save: false
- draft_button_label: ''
- draft_button_attributes: { }
- draft_saved_message: ''
- draft_loaded_message: ''
- confirmation_type: page
- confirmation_message: ''
- confirmation_url: ''
- confirmation_attributes: { }
- confirmation_back: true
- confirmation_back_label: ''
- confirmation_back_attributes: { }
- limit_total: null
- limit_total_message: ''
- limit_user: null
- limit_user_message: ''
- entity_limit_total: null
- entity_limit_user: null
- results_disabled: false
- results_disabled_ignore: false
- token_update: false
- access:
- create:
- roles:
- - anonymous
- - authenticated
- users: { }
- view_any:
- roles: { }
- users: { }
- update_any:
- roles: { }
- users: { }
- delete_any:
- roles: { }
- users: { }
- purge_any:
- roles: { }
- users: { }
- view_own:
- roles: { }
- users: { }
- update_own:
- roles: { }
- users: { }
- delete_own:
- roles: { }
- users: { }
- handlers:
- email_notification:
- id: email
- label: 'Email Notification'
- handler_id: email_notification
- status: true
- weight: 1
- settings:
- to_mail: default
- cc_mail: ''
- bcc_mail: ''
- from_mail: '[yamlform_submission:values:email:raw]'
- from_name: '[yamlform_submission:values:first_name] [yamlform_submission:values:last_name]'
- subject: default
- body: default
- excluded_elements: { }
- html: true
- attachments: false
- debug: false